summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-02-09 13:14:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-02-09 13:14:44 +0100
commit8ddaaf98494215f4339726399ffda0d0a597efbf (patch)
treea6c99ecf5eaa89e01f66ae2c3ed3f7e812eadc9d /timers.h
parent7db4f962520e4922827f9d96d4638f2baf7cdd91 (diff)
downloadvdr-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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/timers.h b/timers.h
index 3d308888..a179e52c 100644
--- a/timers.h
+++ b/timers.h
@@ -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;