Added member functions Adapter() and Frontend() to cDvbDevice

This commit is contained in:
Klaus Schmidinger 2012-01-13 11:41:04 +01:00
parent 0730f502c5
commit 64f23b27d9
3 changed files with 6 additions and 1 deletions

View File

@ -1123,6 +1123,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
for fixing cDvbSubtitleConverter::SetOsdData()
for adding support for DVB-T2 to libsi
for adding support for handling DVB-T2 transponders
for suggesting to add member functions Adapter() and Frontend() to cDvbDevice
Ralf Klueber <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark

View File

@ -6820,3 +6820,5 @@ Video Disk Recorder Revision History
that have a timer (thanks to Timo Eskola).
- BIDI support now checks at runtime whether the system runs with UTF-8 (suggested
by Torsten Lang).
- Added member functions Adapter() and Frontend() to cDvbDevice (suggested by
Rolf Ahrenberg).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.h 2.20 2012/01/11 12:08:49 kls Exp $
* $Id: dvbdevice.h 2.21 2012/01/13 11:32:45 kls Exp $
*/
#ifndef __DVBDEVICE_H
@ -134,6 +134,8 @@ private:
public:
cDvbDevice(int Adapter, int Frontend);
virtual ~cDvbDevice();
int Adapter(void) const { return adapter; }
int Frontend(void) const { return frontend; }
virtual bool Ready(void);
static bool BondDevices(const char *Bondings);
///< Bonds the devices as defined in the given Bondings string.