summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-25 12:25:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-25 12:25:54 +0100
commit7881effd9bfcf2fca916308f63f25417f3b6d0cf (patch)
treef12f6ebac98a840794bfcfc299721a0844f5539c
parent60e937f57bafb8dea3bb5fc8097afb4b132db6c6 (diff)
downloadvdr-7881effd9bfcf2fca916308f63f25417f3b6d0cf.tar.gz
vdr-7881effd9bfcf2fca916308f63f25417f3b6d0cf.tar.bz2
Implemented cRecordingInfo::ChannelID()
-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(); }