summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-10-26 13:32:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-10-26 13:32:24 +0100
commit2a7467aed5a0b96e64bc5e7493c96d89583d3a6d (patch)
treeec8db300d1b99a50b3ffe992dff7296654696feb /channels.h
parenteb63966268ba2695a34bfbbff502266384e74047 (diff)
downloadvdr-2a7467aed5a0b96e64bc5e7493c96d89583d3a6d.tar.gz
vdr-2a7467aed5a0b96e64bc5e7493c96d89583d3a6d.tar.bz2
Added missing 'const' to some cChannel member functions
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/channels.h b/channels.h
index ca76af16..6fa1758c 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.8 2003/08/16 09:12:15 kls Exp $
+ * $Id: channels.h 1.9 2003/10/26 13:32:00 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -119,9 +119,9 @@ public:
int Transmission(void) const { return transmission; }
int Guard(void) const { return guard; }
int Hierarchy(void) const { return hierarchy; }
- bool IsCable(void) { return (source & cSource::st_Mask) == cSource::stCable; }
- bool IsSat(void) { return (source & cSource::st_Mask) == cSource::stSat; }
- bool IsTerr(void) { return (source & cSource::st_Mask) == cSource::stTerr; }
+ bool IsCable(void) const { return (source & cSource::st_Mask) == cSource::stCable; }
+ bool IsSat(void) const { return (source & cSource::st_Mask) == cSource::stSat; }
+ bool IsTerr(void) const { return (source & cSource::st_Mask) == cSource::stTerr; }
tChannelID GetChannelID(void) const;
};