From 4c0ab3d3e768cea51748d403e5b7d9ce64b6cbf2 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Feb 2009 10:51:42 +0100 Subject: [PATCH] Added cRecordingInfo::GetEvent() --- CONTRIBUTORS | 3 +++ HISTORY | 3 ++- recording.h | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 724f8b86..3a1e8ee0 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2419,3 +2419,6 @@ Timo Helkio Derek Kelly (user.vdr@gmail.com) for fixing handling the 'new' indicator in the recordings menu for TS recordings + +Marcel Unbehaun + for adding cRecordingInfo::GetEvent() diff --git a/HISTORY b/HISTORY index ca09108e..a7865959 100644 --- a/HISTORY +++ b/HISTORY @@ -5979,7 +5979,7 @@ Video Disk Recorder Revision History cDevice class reimplements PlayTs() or PlayPes(), it also needs to make sure this new function works as expected. -2009-02-01: Version 1.7.5 +2009-02-28: Version 1.7.5 - Fixed a hangup when replaying a TS recording with subtitles activated (reported by Timo Helkio). @@ -5988,3 +5988,4 @@ Video Disk Recorder Revision History - Added cap_sys_nice to the capabilities that are not dropped (thanks to Rolf Ahrenberg). - Updated the Italian OSD texts (thanks to Diego Pierotto). +- Added cRecordingInfo::GetEvent() (thanks to Marcel Unbehaun). diff --git a/recording.h b/recording.h index 5256a8ee..151e7602 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 2.4 2009/01/24 15:24:19 kls Exp $ + * $Id: recording.h 2.5 2009/02/28 10:50:12 kls Exp $ */ #ifndef __RECORDING_H @@ -60,6 +60,7 @@ public: ~cRecordingInfo(); tChannelID ChannelID(void) const { return channelID; } const char *ChannelName(void) const { return channelName; } + const cEvent *GetEvent(void) const { return event; } const char *Title(void) const { return event->Title(); } const char *ShortText(void) const { return event->ShortText(); } const char *Description(void) const { return event->Description(); }