diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-01-13 11:41:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-01-13 11:41:04 +0100 |
commit | 64f23b27d945a85c06bf432b65e032ed0f745373 (patch) | |
tree | aa8619f317528d970831d1fe8e6c7e708a423783 | |
parent | 0730f502c5cc8253063d8d1bc7f769fcffc83155 (diff) | |
download | vdr-64f23b27d945a85c06bf432b65e032ed0f745373.tar.gz vdr-64f23b27d945a85c06bf432b65e032ed0f745373.tar.bz2 |
Added member functions Adapter() and Frontend() to cDvbDevice
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | dvbdevice.h | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 082723dd..fc5ee499 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -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 @@ -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). diff --git a/dvbdevice.h b/dvbdevice.h index 8e9b5c35..96dfa421 100644 --- a/dvbdevice.h +++ b/dvbdevice.h @@ -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. |