mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-26 23:06:44 +01:00
Making absolutely sure cEvent::Title() never returns NULL
This commit is contained in:
4
HISTORY
4
HISTORY
@@ -10090,7 +10090,7 @@ Video Disk Recorder Revision History
|
|||||||
- Added missing locks to SetMenuItem() functions.
|
- Added missing locks to SetMenuItem() functions.
|
||||||
- Revised locking in cMenuSchedule and cMenuWhatsOn.
|
- Revised locking in cMenuSchedule and cMenuWhatsOn.
|
||||||
|
|
||||||
2025-03-03:
|
2025-03-04:
|
||||||
|
|
||||||
- Added the "override" keyword to virtual functions reimplemented in derived classes.
|
- Added the "override" keyword to virtual functions reimplemented in derived classes.
|
||||||
Plugins may want to do the same, but don't have to.
|
Plugins may want to do the same, but don't have to.
|
||||||
@@ -10102,3 +10102,5 @@ Video Disk Recorder Revision History
|
|||||||
used to get full access to the timer (if any) defined for this event.
|
used to get full access to the timer (if any) defined for this event.
|
||||||
- Added a mutex lock to protect creating/deleting cStatus objects (suggested by Markus
|
- Added a mutex lock to protect creating/deleting cStatus objects (suggested by Markus
|
||||||
Ehrnsperger).
|
Ehrnsperger).
|
||||||
|
- Making absolutely sure cEvent::Title() never returns NULL.
|
||||||
|
APIVERSNUM is now 30007.
|
||||||
|
|||||||
6
config.h
6
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 5.27 2025/03/02 11:03:35 kls Exp $
|
* $Id: config.h 5.28 2025/03/04 15:54:07 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@@ -27,8 +27,8 @@
|
|||||||
|
|
||||||
// The plugin API's version number:
|
// The plugin API's version number:
|
||||||
|
|
||||||
#define APIVERSION "6"
|
#define APIVERSION "7"
|
||||||
#define APIVERSNUM 30006
|
#define APIVERSNUM 30007
|
||||||
|
|
||||||
// When loading plugins, VDR searches files by their APIVERSION, which
|
// When loading plugins, VDR searches files by their APIVERSION, which
|
||||||
// is different from VDRVERSION. APIVERSION is a plain number, incremented
|
// is different from VDRVERSION. APIVERSION is a plain number, incremented
|
||||||
|
|||||||
4
epg.h
4
epg.h
@@ -7,7 +7,7 @@
|
|||||||
* Original version (as used in VDR before 1.3.0) written by
|
* Original version (as used in VDR before 1.3.0) written by
|
||||||
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
|
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
|
||||||
*
|
*
|
||||||
* $Id: epg.h 5.9 2025/03/02 11:03:35 kls Exp $
|
* $Id: epg.h 5.10 2025/03/04 15:54:07 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __EPG_H
|
#ifndef __EPG_H
|
||||||
@@ -102,7 +102,7 @@ public:
|
|||||||
uchar TableID(void) const { return tableID; }
|
uchar TableID(void) const { return tableID; }
|
||||||
uchar Version(void) const { return version; }
|
uchar Version(void) const { return version; }
|
||||||
int RunningStatus(void) const { return runningStatus; }
|
int RunningStatus(void) const { return runningStatus; }
|
||||||
const char *Title(void) const { return title; }
|
const char *Title(void) const { return title ? title : ""; }
|
||||||
const char *ShortText(void) const { return shortText; }
|
const char *ShortText(void) const { return shortText; }
|
||||||
const char *Description(void) const { return description; }
|
const char *Description(void) const { return description; }
|
||||||
const cComponents *Components(void) const { return components; }
|
const cComponents *Components(void) const { return components; }
|
||||||
|
|||||||
Reference in New Issue
Block a user