From 83ad7bf6e49773b4cdeb265908ab6b921c12e4a3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 1 Dec 2006 15:09:10 +0100 Subject: Added a missing 'const' to cRecordingInfo::ChannelID() --- CONTRIBUTORS | 1 + HISTORY | 3 +++ config.h | 6 +++--- recording.h | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c8b410f0..c7869564 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1525,6 +1525,7 @@ Andreas Brugger component descriptors set from the broadcast data 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 + for reporting a missing 'const' in cRecordingInfo::ChannelID() Dino Ravnic for fixing some characters in the iso8859-2 font file diff --git a/HISTORY b/HISTORY index c16081d9..292bdff3 100644 --- a/HISTORY +++ b/HISTORY @@ -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 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). +- 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. diff --git a/config.h b/config.h index 610124e2..5da7b68b 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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 @@ -26,8 +26,8 @@ // The plugin API's version number: -#define APIVERSION "1.4.4" -#define APIVERSNUM 10404 // Version * 10000 + Major * 100 + Minor +#define APIVERSION "1.4.5" +#define APIVERSNUM 10405 // Version * 10000 + Major * 100 + Minor // When loading plugins, VDR searches them by their APIVERSION, which // may be smaller than VDRVERSION in case there have been no changes to diff --git a/recording.h b/recording.h index def351f8..f9db505d 100644 --- a/recording.h +++ b/recording.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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 @@ -50,7 +50,7 @@ private: void SetAux(const char *Aux); public: ~cRecordingInfo(); - tChannelID ChannelID(void) { return channelID; } + tChannelID ChannelID(void) const { return channelID; } const char *Title(void) const { return event->Title(); } const char *ShortText(void) const { return event->ShortText(); } const char *Description(void) const { return event->Description(); } -- cgit v1.2.3