diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-10-26 13:49:59 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-10-26 13:49:59 +0100 |
commit | 327b4c35ac60dcbe00cc8fa08cd5c129c685de83 (patch) | |
tree | d4ec41544b17563f035643949ceebcc10f2cc594 /channels.h | |
parent | ccbebacc16315b05e369aaee66b10e3269072884 (diff) | |
download | vdr-1.2.6pre4.tar.gz vdr-1.2.6pre4.tar.bz2 |
Added missing 'const' to some cChannel member functions1.2.6pre4
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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.8.1.1 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; }; |