diff options
Diffstat (limited to 'switchtimer.h')
-rw-r--r-- | switchtimer.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/switchtimer.h b/switchtimer.h index 8958b44..09ebe88 100644 --- a/switchtimer.h +++ b/switchtimer.h @@ -3,20 +3,21 @@ #include <vdr/plugin.h> -class cSwitchTimer : public cListObject -{ +class cSwitchTimer : public cListObject { public: tEventID eventID; time_t startTime; tChannelID channelID; - + int switchMinsBefore; + int announceOnly; cSwitchTimer(void); cSwitchTimer(const cEvent* Event); bool Parse(const char *s); + void SetEventID(tEventID eventID) { this->eventID = eventID; }; + void SetStartTime(time_t startTime) { this->startTime = startTime; }; }; -class cSwitchTimers : public cConfig<cSwitchTimer>, public cMutex -{ +class cSwitchTimers : public cConfig<cSwitchTimer>, public cMutex { public: cSwitchTimers(void) {} ~cSwitchTimers(void) {} |