diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-25 15:57:56 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-25 15:57:56 +0100 |
commit | 8dec381664bec6cf3090d2414b615c4d51374860 (patch) | |
tree | a872fc6d3b4d1357f6de7603ce7cf2446fc09253 /timers.h | |
parent | 8650649b18444ad79c558fc7ac2b464e074e747e (diff) | |
download | vdr-8dec381664bec6cf3090d2414b615c4d51374860.tar.gz vdr-8dec381664bec6cf3090d2414b615c4d51374860.tar.bz2 |
Improved setting events to timers
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.h 1.25 2006/02/25 10:42:10 kls Exp $ + * $Id: timers.h 1.26 2006/02/25 15:05:09 kls Exp $ */ #ifndef __TIMERS_H @@ -28,6 +28,7 @@ class cTimer : public cListObject { friend class cMenuEditTimer; private: mutable time_t startTime, stopTime; + time_t lastSetEvent; bool recording, pending, inVpsMargin; uint flags; cChannel *channel; @@ -77,6 +78,7 @@ public: bool Expired(void) const; time_t StartTime(void) const; time_t StopTime(void) const; + void SetEventFromSchedule(const cSchedules *Schedules = NULL); void SetEvent(const cEvent *Event); void SetRecording(bool Recording); void SetPending(bool Pending); |