diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-16 15:04:49 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-16 15:04:49 +0100 |
commit | 6140c49f146455f01897097e0393225382ec1885 (patch) | |
tree | d6a3312bfbc62bfa50a9729d19fa06188ed69931 /timers.h | |
parent | 6b35173789c2d97fc6b9dadb780a22316f82c7fb (diff) | |
download | vdr-6140c49f146455f01897097e0393225382ec1885.tar.gz vdr-6140c49f146455f01897097e0393225382ec1885.tar.bz2 |
Added cStatus::TimerChange()
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 9 |
1 files changed, 6 insertions, 3 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.30 2007/06/03 13:24:58 kls Exp $ + * $Id: timers.h 1.31 2008/02/16 14:33:23 kls Exp $ */ #ifndef __TIMERS_H @@ -38,7 +38,7 @@ private: int stop; int priority; int lifetime; - char file[MaxFileName]; + mutable char file[MaxFileName]; char *aux; const cEvent *event; public: @@ -62,7 +62,7 @@ public: const char *File(void) const { return file; } time_t FirstDay(void) const { return weekdays ? day : 0; } const char *Aux(void) const { return aux; } - cString ToText(bool UseChannelID = false); + cString ToText(bool UseChannelID = false) const; cString ToDescr(void) const; const cEvent *Event(void) const { return event; } bool Parse(const char *s); @@ -119,6 +119,9 @@ public: ///< Upon return the internal state will be stored in State. void SetEvents(void); void DeleteExpired(void); + void Add(cTimer *Timer, cTimer *After = NULL); + void Ins(cTimer *Timer, cTimer *Before = NULL); + void Del(cTimer *Timer, bool DeleteObject = true); }; extern cTimers Timers; |