summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-09-17 10:03:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-09-17 10:03:19 +0200
commit75587d1a1726cf6d7048e50f6c0f88c6fb9a3aef (patch)
treedc241eae291fc106c1ff364c9102a1084f9d12ed
parent547310a9490174f630f219152214b2e33da2679b (diff)
downloadvdr-75587d1a1726cf6d7048e50f6c0f88c6fb9a3aef.tar.gz
vdr-75587d1a1726cf6d7048e50f6c0f88c6fb9a3aef.tar.bz2
Added cChannel::LinkChannels() and cChannel::RefChannel()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY3
-rw-r--r--channels.h4
3 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 4a5d1e35..0dccb7d7 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -522,6 +522,7 @@ Helmut Auer <vdr@helmutauer.de>
DVB data stream
for implementing a default cRemote::Initialize()
for suggesting to increase the default value for 'Min. user inactivity' to 300 minutes
+ for suggesting to add cChannel::LinkChannels() and cChannel::RefChannel()
Jeremy Hall <jhall@UU.NET>
for fixing an incomplete initialization of the filter parameters in eit.c
diff --git a/HISTORY b/HISTORY
index f5565775..174a211b 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3812,3 +3812,6 @@ Video Disk Recorder Revision History
- Fixed two errors in 'newplugin' (thanks to Alexander Rieger).
- Fixed converting arbitrarily formatted summary.vdr files (thanks to Thomas Günther).
- Fixed handling color buttons in cMenuEditStrItem (thanks to Alexander Rieger).
+- Added cChannel::LinkChannels() and cChannel::RefChannel() (suggested by Helmut Auer).
+ Note that VDR itself doesn't actually use the linked channels, yet, so there is
+ no guarantee that this really works under all circumstances.
diff --git a/channels.h b/channels.h
index c2e1efc2..62cb52e3 100644
--- a/channels.h
+++ b/channels.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.h 1.35 2005/09/11 11:17:19 kls Exp $
+ * $Id: channels.h 1.36 2005/09/17 09:59:14 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -184,6 +184,8 @@ public:
int Transmission(void) const { return transmission; }
int Guard(void) const { return guard; }
int Hierarchy(void) const { return hierarchy; }
+ const cLinkChannels* LinkChannels(void) const { return linkChannels; }
+ const cChannel *RefChannel(void) const { return refChannel; }
bool IsCable(void) const { return cSource::IsCable(source); }
bool IsSat(void) const { return cSource::IsSat(source); }
bool IsTerr(void) const { return cSource::IsTerr(source); }