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 /dvbdevice.h | |
parent | 0b82b38533792023097a47371b594075cdfb44aa (diff) | |
download | vdr-e59c6ac433e50f76986331a3ff2e610e60ddf4b5.tar.gz vdr-e59c6ac433e50f76986331a3ff2e610e60ddf4b5.tar.bz2 |
Re-implemented handling of DVB-S2
Diffstat (limited to 'dvbdevice.h')
-rw-r--r-- | dvbdevice.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dvbdevice.h b/dvbdevice.h index 7bd3e545..3990eaa0 100644 --- a/dvbdevice.h +++ b/dvbdevice.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.h 1.47 2008/02/08 13:48:31 kls Exp $ + * $Id: dvbdevice.h 2.1 2008/04/12 11:20:48 kls Exp $ */ #ifndef __DVBDEVICE_H @@ -15,8 +15,8 @@ #include "device.h" #include "dvbspu.h" -#if DVB_API_VERSION != 3 -#error VDR requires Linux DVB driver API version 3! +#if DVB_API_VERSION != 3 || DVB_API_VERSION_MINOR != 3 +#error VDR requires Linux DVB driver API version 3.3! #endif #define MAXDVBDEVICES 8 @@ -35,7 +35,8 @@ public: ///< Must be called before accessing any DVB functions. ///< \return True if any devices are available. private: - fe_type_t frontendType; + dvbfe_delsys frontendType; + int numProvidedSystems; int fd_osd, fd_audio, fd_video, fd_dvr, fd_stc, fd_ca; protected: virtual void MakePrimaryDevice(bool On); @@ -66,6 +67,7 @@ public: virtual bool ProvidesSource(int Source) const; virtual bool ProvidesTransponder(const cChannel *Channel) const; virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const; + virtual int NumProvidedSystems(void) const; virtual bool IsTunedToTransponder(const cChannel *Channel); protected: virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView); |