compile fixes for old dvb api (7020....)
[enigma2.git] / lib / dvb / idvb.h
index d5f399c077069454160c6a9a08dba979cc56bb65..a951fdc498e4dcaa25126107554c489df31d1b66 100644 (file)
@@ -465,7 +465,9 @@ public:
        virtual RESULT setSecSequence(const eSecCommandList &list)=0;
 #endif
        virtual int readFrontendData(int type)=0;
-       virtual PyObject *readTransponderData(bool original)=0;
+       virtual void getFrontendStatus(SWIG_PYOBJECT(ePyObject) dest)=0;
+       virtual void getTransponderData(SWIG_PYOBJECT(ePyObject) dest, bool original)=0;
+       virtual void getFrontendData(SWIG_PYOBJECT(ePyObject) dest)=0;
 #ifndef SWIG
        virtual RESULT getData(int num, int &data)=0;
        virtual RESULT setData(int num, int val)=0;
@@ -619,6 +621,10 @@ public:
        virtual RESULT flush()=0;
 };
 
+#if HAVE_DVB_API_VERSION < 3 && !defined(VIDEO_EVENT_SIZE_CHANGED)
+#define VIDEO_EVENT_SIZE_CHANGED 1
+#endif
+
 class iTSMPEGDecoder: public iObject
 {
 public: