summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-13 10:20:42 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-13 10:20:42 +0100
commit4dcbf19ea239f90d646893d9580c4edf90386036 (patch)
tree3b0c4c472f5899c397efca95166104932d36246b /device.h
parented10aaf68bbd519856430b7f6e6223a243feffc0 (diff)
downloadvdr-4dcbf19ea239f90d646893d9580c4edf90386036.tar.gz
vdr-4dcbf19ea239f90d646893d9580c4edf90386036.tar.bz2
The new function cDevice::DeviceName() returns a string identifying the name of the given device
Diffstat (limited to 'device.h')
-rw-r--r--device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.h b/device.h
index 0d9ac3ac..987dfd2f 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 2.37 2012/03/06 12:13:46 kls Exp $
+ * $Id: device.h 2.38 2012/03/13 10:17:16 kls Exp $
*/
#ifndef __DEVICE_H
@@ -201,6 +201,9 @@ public:
///< Returns the card index of this device (0 ... MAXDEVICES - 1).
int DeviceNumber(void) const;
///< Returns the number of this device (0 ... numDevices).
+ virtual cString DeviceName(void) const;
+ ///< Returns a string identifying the name of this device.
+ ///< The default implementation returns an empty string.
virtual bool HasDecoder(void) const;
///< Tells whether this device has an MPEG decoder.
virtual bool AvoidRecording(void) const { return false; }