summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-06 14:31:57 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-06 14:31:57 +0100
commit72e93b614bac42cd4a142b10d47e5b1673f19800 (patch)
tree985000a2d5572c83903247fec904df04fb8c64c3 /timers.h
parent16f037e3c23efadcc846fd7dc780b42036fabf01 (diff)
downloadvdr-72e93b614bac42cd4a142b10d47e5b1673f19800.tar.gz
vdr-72e93b614bac42cd4a142b10d47e5b1673f19800.tar.bz2
The "flags" of a timer are now handled as an unsigned integer value
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/timers.h b/timers.h
index 17a55fb8..4ad28bb4 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.22 2006/01/03 11:45:26 kls Exp $
+ * $Id: timers.h 1.23 2006/01/06 14:13:17 kls Exp $
*/
#ifndef __TIMERS_H
@@ -29,7 +29,7 @@ class cTimer : public cListObject {
private:
mutable time_t startTime, stopTime;
bool recording, pending, inVpsMargin;
- int flags;
+ uint flags;
cChannel *channel;
mutable time_t day; ///< midnight of the day this timer shall hit, or of the first day it shall hit in case of a repeating timer
int weekdays; ///< bitmask, lowest bits: SSFTWTM (the 'M' is the LSB)
@@ -49,7 +49,7 @@ public:
bool Recording(void) const { return recording; }
bool Pending(void) const { return pending; }
bool InVpsMargin(void) const { return inVpsMargin; }
- int Flags(void) const { return flags; }
+ uint Flags(void) const { return flags; }
const cChannel *Channel(void) const { return channel; }
time_t Day(void) const { return day; }
int WeekDays(void) const { return weekdays; }
@@ -82,10 +82,10 @@ public:
void SetPending(bool Pending);
void SetInVpsMargin(bool InVpsMargin);
void SetPriority(int Priority);
- void SetFlags(int Flags);
- void ClrFlags(int Flags);
- void InvFlags(int Flags);
- bool HasFlags(int Flags) const;
+ void SetFlags(uint Flags);
+ void ClrFlags(uint Flags);
+ void InvFlags(uint Flags);
+ bool HasFlags(uint Flags) const;
void Skip(void);
void OnOff(void);
cString PrintFirstDay(void) const;