diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-04-12 13:39:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-04-12 13:39:12 +0200 |
commit | e59c6ac433e50f76986331a3ff2e610e60ddf4b5 (patch) | |
tree | 9e8139ac41547046bfdb969243b775da464a5102 /device.h | |
parent | 0b82b38533792023097a47371b594075cdfb44aa (diff) | |
download | vdr-e59c6ac433e50f76986331a3ff2e610e60ddf4b5.tar.gz vdr-e59c6ac433e50f76986331a3ff2e610e60ddf4b5.tar.bz2 |
Re-implemented handling of DVB-S2
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 1.91 2008/02/23 13:13:04 kls Exp $ + * $Id: device.h 2.1 2008/04/12 11:11:23 kls Exp $ */ #ifndef __DEVICE_H @@ -228,6 +228,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. |