1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added missing 'const' to some cChannel member functions

This commit is contained in:
Klaus Schmidinger 2003-10-26 13:32:24 +01:00
parent eb63966268
commit 2a7467aed5
3 changed files with 7 additions and 4 deletions

View File

@ -647,6 +647,7 @@ Torsten Herz <torsten.herz@web.de>
to switch to an other channel to switch to an other channel
for reporting a wrong EPG bugfix code number for the MAX_USEFUL_SUBTITLE_LENGTH fix for reporting a wrong EPG bugfix code number for the MAX_USEFUL_SUBTITLE_LENGTH fix
for fixing a bug in resetting OSD color palettes for fixing a bug in resetting OSD color palettes
for adding missing 'const' to some cChannel member functions
Steffen Becker <stbecker@rbg.informatik.tu-darmstadt.de> Steffen Becker <stbecker@rbg.informatik.tu-darmstadt.de>
for reporting a problem with CPU load peaks (in the EPG scanner) for reporting a problem with CPU load peaks (in the EPG scanner)

View File

@ -2449,6 +2449,8 @@ Video Disk Recorder Revision History
- Fixed handling CAM menus in case the CAM connection fails while the menu - 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). is being presented (thanks to Thomas v. Keller for reportign this one).
- Added missing 'const' to some cChannel member functions (thanks to Torsten
Herz).
2003-10-24: Version 1.3.0 2003-10-24: Version 1.3.0

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CHANNELS_H
@ -119,9 +119,9 @@ public:
int Transmission(void) const { return transmission; } int Transmission(void) const { return transmission; }
int Guard(void) const { return guard; } int Guard(void) const { return guard; }
int Hierarchy(void) const { return hierarchy; } int Hierarchy(void) const { return hierarchy; }
bool IsCable(void) { return (source & cSource::st_Mask) == cSource::stCable; } bool IsCable(void) const { return (source & cSource::st_Mask) == cSource::stCable; }
bool IsSat(void) { return (source & cSource::st_Mask) == cSource::stSat; } bool IsSat(void) const { return (source & cSource::st_Mask) == cSource::stSat; }
bool IsTerr(void) { return (source & cSource::st_Mask) == cSource::stTerr; } bool IsTerr(void) const { return (source & cSource::st_Mask) == cSource::stTerr; }
tChannelID GetChannelID(void) const; tChannelID GetChannelID(void) const;
}; };