diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-24 15:01:50 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-24 15:01:50 +0200 |
commit | 313448ad0cd49d6f515bb53b53d6b6700b96db00 (patch) | |
tree | 6dd1f147bde949ec76f1c4327b0d92e31bfb34a4 /timers.h | |
parent | e41261ae46644e5637a888e969eba2bac632467e (diff) | |
download | vdr-313448ad0cd49d6f515bb53b53d6b6700b96db00.tar.gz vdr-313448ad0cd49d6f515bb53b53d6b6700b96db00.tar.bz2 |
Implemented 'modified' and 'seen' for EPG schedules/events1.3.14
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 6 |
1 files changed, 4 insertions, 2 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.7 2004/02/29 14:18:17 kls Exp $ + * $Id: timers.h 1.8 2004/10/24 14:40:37 kls Exp $ */ #ifndef __TIMERS_H @@ -93,14 +93,16 @@ public: class cTimers : public cConfig<cTimer> { private: int beingEdited; + time_t lastSetEvents; public: + cTimers(void); cTimer *GetTimer(cTimer *Timer); cTimer *GetMatch(time_t t); cTimer *GetMatch(const cEvent *Event, int *Match = NULL); cTimer *GetNextActiveTimer(void); int BeingEdited(void) { return beingEdited; } void IncBeingEdited(void) { beingEdited++; } - void DecBeingEdited(void) { beingEdited--; } + void DecBeingEdited(void) { if (!--beingEdited) lastSetEvents = 0; } void SetEvents(void); }; |