summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-28 09:53:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-28 09:53:54 +0200
commit7114258ebd27e302eba4be88b546662c163396f4 (patch)
tree4cfbb6e134ed4fd9a4c1cf3bf567abfde09e3d12 /channels.h
parent1855ab0ef3ff5ef220cbd3bc486b0c4d66063073 (diff)
downloadvdr-7114258ebd27e302eba4be88b546662c163396f4.tar.gz
vdr-7114258ebd27e302eba4be88b546662c163396f4.tar.bz2
cRecordingInfo stores channelID itself (preparation for change in cEvent)
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.h b/channels.h
index f1bc6568..297aab55 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.30 2005/05/26 11:11:31 kls Exp $
+ * $Id: channels.h 1.31 2005/05/28 09:47:23 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -66,11 +66,11 @@ 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 { return source == arg.source && nid == arg.nid && tid == arg.tid && sid == arg.sid && rid == arg.rid; }
- bool Valid(void) { return (nid || tid) && sid; } // rid is optional and source may be 0//XXX source may not be 0???
+ bool Valid(void) const { return (nid || tid) && sid; } // rid is optional and source may be 0//XXX source may not be 0???
tChannelID &ClrRid(void) { rid = 0; return *this; }
tChannelID &ClrPolarization(void);
static tChannelID FromString(const char *s);
- cString ToString(void);
+ cString ToString(void) const;
static const tChannelID InvalidID;
};