summaryrefslogtreecommitdiff
path: root/switchtimer.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-01-10 12:44:01 +0100
committerlouis <louis.braun@gmx.de>2014-01-10 12:44:01 +0100
commit84629bde6c85ba9bec34324a89e8fe4de8d2caa5 (patch)
tree71a8dbc9d0580b2c2430ef2dc2362e245ad4ac48 /switchtimer.h
parentda40191cfc9a37c6d4cb4be8eab68a33c856d2da (diff)
downloadvdr-plugin-tvguide-84629bde6c85ba9bec34324a89e8fe4de8d2caa5.tar.gz
vdr-plugin-tvguide-84629bde6c85ba9bec34324a89e8fe4de8d2caa5.tar.bz2
Added possibility to manage EPG Search Timers in red button recording menu
Diffstat (limited to 'switchtimer.h')
-rw-r--r--switchtimer.h11
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) {}