summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-02-06 14:43:42 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-02-06 14:43:42 +0100
commitf7831543b31ba77702ef0ea19e6ebd3f5baa2724 (patch)
tree27b5cb48d1da1aceb963536639493fbd63a71fe6 /device.h
parent644a9f07f26df58b7d79cea8ea961c2232a092be (diff)
downloadvdr-f7831543b31ba77702ef0ea19e6ebd3f5baa2724.tar.gz
vdr-f7831543b31ba77702ef0ea19e6ebd3f5baa2724.tar.bz2
Implemented cDevice::GetCurrentlyTunedTransponder()
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.h b/device.h
index 9318bb1b..9ce814a1 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.20 2010/02/06 13:55:41 kls Exp $
+ * $Id: device.h 2.21 2010/02/06 14:34:41 kls Exp $
*/
#ifndef __DEVICE_H
@@ -247,6 +247,11 @@ public:
///< actually provide channels must implement this function.
///< The result of this function is used when selecting a device, in order
///< to avoid devices that provide more than one system.
+ virtual const cChannel *GetCurrentlyTunedTransponder(void) const;
+ ///< Returns a pointer to the currently tuned transponder.
+ ///< This is not one of the channels in the global cChannels list, but rather
+ ///< a local copy. The result may be NULL if the device is not tuned to any
+ ///< transponder.
virtual bool IsTunedToTransponder(const cChannel *Channel);
///< Returns true if this device is currently tuned to the given Channel's
///< transponder.