summaryrefslogtreecommitdiff
path: root/dvbdevice.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 /dvbdevice.h
parentf8274a9a9f45d69114803cf47c339f54ba5d7b9e (diff)
downloadvdr-d0af2f90e75ba5b87542ff3ad0a6fb7b960d1e97.tar.gz
vdr-d0af2f90e75ba5b87542ff3ad0a6fb7b960d1e97.tar.bz2
Implemented handling of DVB-S2
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 75572769..eca00dd6 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.45 2007/10/14 13:01:25 kls Exp $
+ * $Id: dvbdevice.h 1.46 2008/01/27 10:21:02 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);