1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added cRecordingInfo::GetEvent()

This commit is contained in:
Klaus Schmidinger 2009-02-28 10:51:42 +01:00
parent 3d309c498c
commit 4c0ab3d3e7
3 changed files with 7 additions and 2 deletions

View File

@ -2419,3 +2419,6 @@ Timo Helkio <timolavi@mbnet.fi>
Derek Kelly (user.vdr@gmail.com) Derek Kelly (user.vdr@gmail.com)
for fixing handling the 'new' indicator in the recordings menu for TS recordings for fixing handling the 'new' indicator in the recordings menu for TS recordings
Marcel Unbehaun <frostworks@gmx.de>
for adding cRecordingInfo::GetEvent()

View File

@ -5979,7 +5979,7 @@ Video Disk Recorder Revision History
cDevice class reimplements PlayTs() or PlayPes(), it also needs to make sure this cDevice class reimplements PlayTs() or PlayPes(), it also needs to make sure this
new function works as expected. 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 - Fixed a hangup when replaying a TS recording with subtitles activated (reported
by Timo Helkio). 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 - Added cap_sys_nice to the capabilities that are not dropped (thanks to Rolf
Ahrenberg). Ahrenberg).
- Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Italian OSD texts (thanks to Diego Pierotto).
- Added cRecordingInfo::GetEvent() (thanks to Marcel Unbehaun).

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 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 #ifndef __RECORDING_H
@ -60,6 +60,7 @@ public:
~cRecordingInfo(); ~cRecordingInfo();
tChannelID ChannelID(void) const { return channelID; } tChannelID ChannelID(void) const { return channelID; }
const char *ChannelName(void) const { return channelName; } const char *ChannelName(void) const { return channelName; }
const cEvent *GetEvent(void) const { return event; }
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(); }