summaryrefslogtreecommitdiff
path: root/dvbdevice.c
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 /dvbdevice.c
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 'dvbdevice.c')
-rw-r--r--dvbdevice.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 4c9268f4..d7f3c499 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 2.67 2012/03/08 09:49:58 kls Exp $
+ * $Id: dvbdevice.c 2.68 2012/03/13 09:50:56 kls Exp $
*/
#include "dvbdevice.h"
@@ -1090,6 +1090,11 @@ bool cDvbDevice::Probe(int Adapter, int Frontend)
return true;
}
+cString cDvbDevice::DeviceName(void) const
+{
+ return frontendInfo.name;
+}
+
bool cDvbDevice::Initialize(void)
{
new cDvbSourceParam('A', "ATSC");