summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-02-09 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-02-09 18:00:00 +0100
commitb09aaa00a58ec72d0331a01f31b3df16d43ce90b (patch)
tree92e95c191cf4d07eccc3226c100daac7eaa57af3 /timers.h
parent8c5d735d3279230f6471e474a946a5733054df43 (diff)
downloadvdr-patch-lnbsharing-b09aaa00a58ec72d0331a01f31b3df16d43ce90b.tar.gz
vdr-patch-lnbsharing-b09aaa00a58ec72d0331a01f31b3df16d43ce90b.tar.bz2
Version 1.1.24vdr-1.1.24
- Improved CAM handling (thanks to Reinhard Walter Buchner for a great deal of help in debugging this). It is now possible to insert the CAM in any of the two slots, to insert and remove it while VDR is running and even to have two CAMs inserted. - Turning SI filtering off and on when switching channels. - Timers are now processed even if an OSD menu is open (except for menus that explicitly handle timers).
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 3d30888..a179e52 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;