Implemented cRecordingInfo::ChannelID()

This commit is contained in:
Klaus Schmidinger 2006-02-25 12:25:54 +01:00
parent 60e937f57b
commit 7881effd9b
2 changed files with 4 additions and 1 deletions

View File

@ -4386,3 +4386,5 @@ Video Disk Recorder Revision History
is modified in the "Edit timer" menu. If an external application needs to know if is modified in the "Edit timer" menu. If an external application needs to know if
a timer was modified, it has to keep a copy of the timer's data and compare that a timer was modified, it has to keep a copy of the timer's data and compare that
to the actual data. to the actual data.
- The new function cRecordingInfo::ChannelID() can be used to retrieve the ID of
the channel a recording was made from.

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.52 2006/02/25 10:51:15 kls Exp $ * $Id: recording.h 1.53 2006/02/25 12:24:46 kls Exp $
*/ */
#ifndef __RECORDING_H #ifndef __RECORDING_H
@ -50,6 +50,7 @@ private:
void SetAux(const char *Aux); void SetAux(const char *Aux);
public: public:
~cRecordingInfo(); ~cRecordingInfo();
tChannelID ChannelID(void) { 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(); }