Added cChannel::LinkChannels() and cChannel::RefChannel()

This commit is contained in:
Klaus Schmidinger 2005-09-17 10:03:19 +02:00
parent 547310a949
commit 75587d1a17
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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.

View File

@ -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); }