summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-25 15:57:56 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-25 15:57:56 +0100
commit8dec381664bec6cf3090d2414b615c4d51374860 (patch)
treea872fc6d3b4d1357f6de7603ce7cf2446fc09253 /timers.h
parent8650649b18444ad79c558fc7ac2b464e074e747e (diff)
downloadvdr-8dec381664bec6cf3090d2414b615c4d51374860.tar.gz
vdr-8dec381664bec6cf3090d2414b615c4d51374860.tar.bz2
Improved setting events to timers
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/timers.h b/timers.h
index 7da77014..f49b48dd 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.25 2006/02/25 10:42:10 kls Exp $
+ * $Id: timers.h 1.26 2006/02/25 15:05:09 kls Exp $
*/
#ifndef __TIMERS_H
@@ -28,6 +28,7 @@ class cTimer : public cListObject {
friend class cMenuEditTimer;
private:
mutable time_t startTime, stopTime;
+ time_t lastSetEvent;
bool recording, pending, inVpsMargin;
uint flags;
cChannel *channel;
@@ -77,6 +78,7 @@ public:
bool Expired(void) const;
time_t StartTime(void) const;
time_t StopTime(void) const;
+ void SetEventFromSchedule(const cSchedules *Schedules = NULL);
void SetEvent(const cEvent *Event);
void SetRecording(bool Recording);
void SetPending(bool Pending);