summaryrefslogtreecommitdiff
path: root/switchtimer.h
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2010-03-12 18:34:47 +0100
committerChristian Wieninger <cwieninger@gmx.de>2010-03-12 18:34:47 +0100
commita9a6ba970b574bfd62279f5cc32d9a7d50bf5be1 (patch)
tree67ee40c9d6ee3615496084cc80d5184348f74318 /switchtimer.h
parentadb0f46774d562a7ec164e2e81c1f2d946d03fdf (diff)
downloadvdr-plugin-epgsearch-a9a6ba970b574bfd62279f5cc32d9a7d50bf5be1.tar.gz
vdr-plugin-epgsearch-a9a6ba970b574bfd62279f5cc32d9a7d50bf5be1.tar.bz2
refactoring switch timers to prevent usage of pointers to events
Diffstat (limited to 'switchtimer.h')
-rw-r--r--switchtimer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/switchtimer.h b/switchtimer.h
index e1dff19..a2c325c 100644
--- a/switchtimer.h
+++ b/switchtimer.h
@@ -29,13 +29,17 @@ The project's page is at http://winni.vdr-developer.org/epgsearch
class cSwitchTimer : public cListObject
{
public:
- const cEvent* event;
+ tEventID eventID;
+ time_t startTime;
+ tChannelID channelID;
+
int switchMinsBefore;
int mode; // 0 = switch, 1 = announce only, 2 = ask for switch
int unmute;
cSwitchTimer(void);
cSwitchTimer(const cEvent* Event, int SwitchMinsBefore=1, int mode=0, int unmute=0);
+ const cEvent* Event();
bool Parse(const char *s);
cString ToText(bool& ignore);
bool Save(FILE *f);