diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-02-09 13:14:44 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-02-09 13:14:44 +0100 |
commit | 8ddaaf98494215f4339726399ffda0d0a597efbf (patch) | |
tree | a6c99ecf5eaa89e01f66ae2c3ed3f7e812eadc9d /timers.h | |
parent | 7db4f962520e4922827f9d96d4638f2baf7cdd91 (diff) | |
download | vdr-8ddaaf98494215f4339726399ffda0d0a597efbf.tar.gz vdr-8ddaaf98494215f4339726399ffda0d0a597efbf.tar.bz2 |
Timers are now processed even if a menu is open1.1.24
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 7 |
1 files changed, 6 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.3 2002/11/24 11:50:56 kls Exp $ + * $Id: timers.h 1.4 2003/02/09 12:49:45 kls Exp $ */ #ifndef __TIMERS_H @@ -80,10 +80,15 @@ public: }; class cTimers : public cConfig<cTimer> { +private: + int beingEdited; public: cTimer *GetTimer(cTimer *Timer); cTimer *GetMatch(time_t t); cTimer *GetNextActiveTimer(void); + int BeingEdited(void) { return beingEdited; } + void IncBeingEdited(void) { beingEdited++; } + void DecBeingEdited(void) { beingEdited--; } }; extern cTimers Timers; |