blob: 13e97cde32f2433cc40824648d6e85753f95a09d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* epgclone.h: EpgClone list item
*
* See the README file for copyright information and how to reach the author.
*
*/
#ifndef __EPGFIXER_EPGCLONE_H_
#define __EPGFIXER_EPGCLONE_H_
#include <vdr/epg.h>
#include <vdr/tools.h>
#include "tools.h"
class cEpgClone : public cListItem
{
private:
int dest_num;
char *dest_str;
void CloneEvent(cEvent *Source, cEvent *Dest);
public:
cEpgClone();
virtual ~cEpgClone();
using cListItem::Apply;
virtual bool Apply(cEvent *Event);
void SetFromString(char *string, bool Enabled);
};
// Global instance
extern cEpgfixerList<cEpgClone, cEvent> EpgfixerEpgClones;
#endif //__EPGFIXER_EPGCLONE_H_
|