summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-01-27 14:35:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-01-27 14:35:54 +0100
commitd0af2f90e75ba5b87542ff3ad0a6fb7b960d1e97 (patch)
tree7059b1853dca128451bedad070125478568ddb6e /device.h
parentf8274a9a9f45d69114803cf47c339f54ba5d7b9e (diff)
downloadvdr-d0af2f90e75ba5b87542ff3ad0a6fb7b960d1e97.tar.gz
vdr-d0af2f90e75ba5b87542ff3ad0a6fb7b960d1e97.tar.bz2
Implemented handling of DVB-S2
Diffstat (limited to 'device.h')
-rw-r--r--device.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/device.h b/device.h
index 0139f4e1..5f53d1a2 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 1.86 2007/11/03 13:30:00 kls Exp $
+ * $Id: device.h 1.87 2008/01/27 10:35:18 kls Exp $
*/
#ifndef __DEVICE_H
@@ -224,6 +224,12 @@ public:
///< function itself actually returns true.
///< The default implementation always returns false, so a derived cDevice
///< class that can provide channels must implement this function.
+ virtual int NumProvidedSystems(void) const;
+ ///< Returns the number of individual "delivery systems" this device provides.
+ ///< The default implementation returns 0, so any derived class that can
+ ///< 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 bool IsTunedToTransponder(const cChannel *Channel);
///< Returns true if this device is currently tuned to the given Channel's
///< transponder.