From 75587d1a1726cf6d7048e50f6c0f88c6fb9a3aef Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 17 Sep 2005 10:03:19 +0200 Subject: [PATCH] Added cChannel::LinkChannels() and cChannel::RefChannel() --- CONTRIBUTORS | 1 + HISTORY | 3 +++ channels.h | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 4a5d1e35..0dccb7d7 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -522,6 +522,7 @@ Helmut Auer 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 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); }