mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added some missing 'const' to tChannelID
This commit is contained in:
parent
8ee2c5e293
commit
c066f803f1
@ -2509,6 +2509,7 @@ Johan Schuring <johan.schuring@vetteblei.nl>
|
|||||||
|
|
||||||
Sundararaj Reel <sundararaj.reel@googlemail.com>
|
Sundararaj Reel <sundararaj.reel@googlemail.com>
|
||||||
for reporting a missing reset of maxNumber in cChannels::Renumber()
|
for reporting a missing reset of maxNumber in cChannels::Renumber()
|
||||||
|
for reporting some missing 'const' in tChannelID
|
||||||
|
|
||||||
Ales Jurik <ajurik@quick.cz>
|
Ales Jurik <ajurik@quick.cz>
|
||||||
for reporting broken SI data on Czech/Slovak channels after changing the default
|
for reporting broken SI data on Czech/Slovak channels after changing the default
|
||||||
|
4
HISTORY
4
HISTORY
@ -6649,3 +6649,7 @@ Video Disk Recorder Revision History
|
|||||||
Lars Bläser).
|
Lars Bläser).
|
||||||
- Added support for "content identifier descriptor" and "default authority descriptor"
|
- Added support for "content identifier descriptor" and "default authority descriptor"
|
||||||
to 'libsi' (thanks to Dave Pickles).
|
to 'libsi' (thanks to Dave Pickles).
|
||||||
|
|
||||||
|
2011-06-21: Version 1.7.20
|
||||||
|
|
||||||
|
- Added some missing 'const' to tChannelID (reported by Sundararaj Reel).
|
||||||
|
12
channels.h
12
channels.h
@ -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 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
|
#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???
|
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 &ClrRid(void) { rid = 0; return *this; }
|
||||||
tChannelID &ClrPolarization(void);
|
tChannelID &ClrPolarization(void);
|
||||||
int Source(void) { return source; }
|
int Source(void) const { return source; }
|
||||||
int Nid(void) { return nid; }
|
int Nid(void) const { return nid; }
|
||||||
int Tid(void) { return tid; }
|
int Tid(void) const { return tid; }
|
||||||
int Sid(void) { return sid; }
|
int Sid(void) const { return sid; }
|
||||||
int Rid(void) { return rid; }
|
int Rid(void) const { return rid; }
|
||||||
static tChannelID FromString(const char *s);
|
static tChannelID FromString(const char *s);
|
||||||
cString ToString(void) const;
|
cString ToString(void) const;
|
||||||
static const tChannelID InvalidID;
|
static const tChannelID InvalidID;
|
||||||
|
10
config.h
10
config.h
@ -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: config.h 2.32 2011/06/13 14:24:40 kls Exp $
|
* $Id: config.h 2.33 2011/06/21 21:43:01 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -22,13 +22,13 @@
|
|||||||
|
|
||||||
// VDR's own version number:
|
// VDR's own version number:
|
||||||
|
|
||||||
#define VDRVERSION "1.7.19"
|
#define VDRVERSION "1.7.20"
|
||||||
#define VDRVERSNUM 10719 // Version * 10000 + Major * 100 + Minor
|
#define VDRVERSNUM 10720 // Version * 10000 + Major * 100 + Minor
|
||||||
|
|
||||||
// The plugin API's version number:
|
// The plugin API's version number:
|
||||||
|
|
||||||
#define APIVERSION "1.7.19"
|
#define APIVERSION "1.7.20"
|
||||||
#define APIVERSNUM 10719 // Version * 10000 + Major * 100 + Minor
|
#define APIVERSNUM 10720 // Version * 10000 + Major * 100 + Minor
|
||||||
|
|
||||||
// When loading plugins, VDR searches them by their APIVERSION, which
|
// When loading plugins, VDR searches them by their APIVERSION, which
|
||||||
// may be smaller than VDRVERSION in case there have been no changes to
|
// may be smaller than VDRVERSION in case there have been no changes to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user