From 8ddaaf98494215f4339726399ffda0d0a597efbf Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 9 Feb 2003 13:14:44 +0100 Subject: Timers are now processed even if a menu is open --- timers.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'timers.h') 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 { +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; -- cgit v1.2.3