The new function cDevice::DeviceName() returns a string identifying the name of the given device

This commit is contained in:
Klaus Schmidinger
2012-03-13 10:20:42 +01:00
parent ed10aaf68b
commit 4dcbf19ea2
5 changed files with 21 additions and 5 deletions

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.24 2012/02/29 12:20:51 kls Exp $
* $Id: dvbdevice.h 2.25 2012/03/13 10:11:15 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -138,6 +138,7 @@ public:
int Adapter(void) const { return adapter; }
int Frontend(void) const { return frontend; }
virtual bool Ready(void);
virtual cString DeviceName(void) const;
static bool BondDevices(const char *Bondings);
///< Bonds the devices as defined in the given Bondings string.
///< A bonding is a sequence of device numbers (starting at 1),