summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-30 13:30:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-30 13:30:33 +0100
commit498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c (patch)
tree9711ad63eb51cd912472220b77038f550e31ce2c /channels.h
parent7fcfd58f3c8fbceb9859693012ce45904cceffbc (diff)
downloadvdr-498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c.tar.gz
vdr-498db82e98e44294cc7e6f2d2f1a5c0b10f6cd6c.tar.bz2
Timers now accept channel IDs even if the 'source' is 0
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index 0f6feb10..b21ed307 100644
--- a/channels.h
+++ b/channels.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.h 1.5 2002/11/24 14:27:51 kls Exp $
+ * $Id: channels.h 1.6 2002/11/30 12:59:05 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -46,7 +46,7 @@ public:
tChannelID(void) { source = nid = tid = sid = rid = 0; }
tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; }
bool operator== (const tChannelID &arg) const;
- bool Valid(void) { return source && tid && sid; } // nid and rid are optional
+ bool Valid(void) { return tid && sid; } // nid and rid are optional and source may be 0
tChannelID &ClrRid(void) { rid = 0; return *this; }
static tChannelID FromString(const char *s);
const char *ToString(void);