Added a missing 'const' to cRecordingInfo::ChannelID()

This commit is contained in:
Klaus Schmidinger 2006-12-01 15:09:10 +01:00
parent 2bdf515ace
commit 83ad7bf6e4
4 changed files with 9 additions and 5 deletions

View File

@ -1525,6 +1525,7 @@ Andreas Brugger <brougs78@gmx.net>
component descriptors set from the broadcast data component descriptors set from the broadcast data
for reporting a typo in the change to the "Use small font" setup option in version for reporting a typo in the change to the "Use small font" setup option in version
1.3.47 in the HISTORY and CONTRIBUTORS file 1.3.47 in the HISTORY and CONTRIBUTORS file
for reporting a missing 'const' in cRecordingInfo::ChannelID()
Dino Ravnic <dino.ravnic@fer.hr> Dino Ravnic <dino.ravnic@fer.hr>
for fixing some characters in the iso8859-2 font file for fixing some characters in the iso8859-2 font file

View File

@ -4998,3 +4998,6 @@ Video Disk Recorder Revision History
- Fixed a possible crash in remux.c on 64-bit machines (thanks to Reinhard Nissl). - Fixed a possible crash in remux.c on 64-bit machines (thanks to Reinhard Nissl).
- Fixed a typo in the change to the "Use small font" setup option in version 1.3.47 - Fixed a typo in the change to the "Use small font" setup option in version 1.3.47
in the HISTORY and CONTRIBUTORS file (reported by Andreas Brugger). in the HISTORY and CONTRIBUTORS file (reported by Andreas Brugger).
- Added a missing 'const' to cRecordingInfo::ChannelID() (reported by Andreas
Brugger). This required the APIVERSION to be increased, so plugins will have to
be recompiled.

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: config.h 1.278 2006/12/01 13:33:26 kls Exp $ * $Id: config.h 1.279 2006/12/01 15:08:43 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -26,8 +26,8 @@
// The plugin API's version number: // The plugin API's version number:
#define APIVERSION "1.4.4" #define APIVERSION "1.4.5"
#define APIVERSNUM 10404 // Version * 10000 + Major * 100 + Minor #define APIVERSNUM 10405 // 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

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: recording.h 1.55 2006/07/30 10:24:07 kls Exp $ * $Id: recording.h 1.56 2006/12/01 15:06:07 kls Exp $
*/ */
#ifndef __RECORDING_H #ifndef __RECORDING_H
@ -50,7 +50,7 @@ private:
void SetAux(const char *Aux); void SetAux(const char *Aux);
public: public:
~cRecordingInfo(); ~cRecordingInfo();
tChannelID ChannelID(void) { return channelID; } tChannelID ChannelID(void) const { return channelID; }
const char *Title(void) const { return event->Title(); } const char *Title(void) const { return event->Title(); }
const char *ShortText(void) const { return event->ShortText(); } const char *ShortText(void) const { return event->ShortText(); }
const char *Description(void) const { return event->Description(); } const char *Description(void) const { return event->Description(); }