summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-06-21 21:45:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-06-21 21:45:08 +0200
commitc066f803f10090239b76c6e1a2fcf8daa31c3f8a (patch)
tree756d954b61fae9ab8a84b45a3d8225cff6ae3197 /channels.h
parent8ee2c5e2936dee8b4c5c95f2ca862dcec5f47f08 (diff)
downloadvdr-c066f803f10090239b76c6e1a2fcf8daa31c3f8a.tar.gz
vdr-c066f803f10090239b76c6e1a2fcf8daa31c3f8a.tar.bz2
Added some missing 'const' to tChannelID
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/channels.h b/channels.h
index b8672974..05250934 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 2.12 2010/06/05 13:12:54 kls Exp $
+ * $Id: channels.h 2.13 2011/06/21 21:42:38 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -61,11 +61,11 @@ public:
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);
- int Source(void) { return source; }
- int Nid(void) { return nid; }
- int Tid(void) { return tid; }
- int Sid(void) { return sid; }
- int Rid(void) { return rid; }
+ int Source(void) const { return source; }
+ int Nid(void) const { return nid; }
+ int Tid(void) const { return tid; }
+ int Sid(void) const { return sid; }
+ int Rid(void) const { return rid; }
static tChannelID FromString(const char *s);
cString ToString(void) const;
static const tChannelID InvalidID;