summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--recording.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 778b6f0b..8de1a40f 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4386,3 +4386,5 @@ Video Disk Recorder Revision History
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
to the actual data.
+- The new function cRecordingInfo::ChannelID() can be used to retrieve the ID of
+ the channel a recording was made from.
diff --git a/recording.h b/recording.h
index a114c0bf..f0c3c0e5 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.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
@@ -50,6 +50,7 @@ private:
void SetAux(const char *Aux);
public:
~cRecordingInfo();
+ tChannelID ChannelID(void) { 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(); }