diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2003-10-26 17:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2003-10-26 17:00:00 +0100 |
commit | d62fbea7bad99cfa34ec42a678d4cf38ec1593d8 (patch) | |
tree | d34a37b6f5c4ffa85e1841e89bf099a8a32ddfa5 /channels.h | |
parent | 646369955d2e954edf8b5c78f9ba4dc7f501f292 (diff) | |
download | vdr-patch-lnbsharing-d62fbea7bad99cfa34ec42a678d4cf38ec1593d8.tar.gz vdr-patch-lnbsharing-d62fbea7bad99cfa34ec42a678d4cf38ec1593d8.tar.bz2 |
Version 1.2.6pre4vdr-1.2.6pre4
- Fixed handling CAM menus in case the CAM connection fails while the menu
is being presented (thanks to Thomas v. Keller for reportign this one).
- Added missing 'const' to some cChannel member functions (thanks to Torsten
Herz).
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.9 2003/10/26 13:21:59 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; }; |