summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-13 11:41:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-13 11:41:04 +0100
commit64f23b27d945a85c06bf432b65e032ed0f745373 (patch)
treeaa8619f317528d970831d1fe8e6c7e708a423783 /dvbdevice.h
parent0730f502c5cc8253063d8d1bc7f769fcffc83155 (diff)
downloadvdr-64f23b27d945a85c06bf432b65e032ed0f745373.tar.gz
vdr-64f23b27d945a85c06bf432b65e032ed0f745373.tar.bz2
Added member functions Adapter() and Frontend() to cDvbDevice
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h4
1 files changed, 3 insertions, 1 deletions
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.