diff options
Diffstat (limited to 'epgclone.h')
-rw-r--r-- | epgclone.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/epgclone.h b/epgclone.h new file mode 100644 index 0000000..e0a4aa7 --- /dev/null +++ b/epgclone.h @@ -0,0 +1,31 @@ +/* + * 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 "tools.h" +#include <vdr/epg.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_ |