aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pmt.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-12-09 14:31:28 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-12-09 14:31:28 +0000
commitd74be53af36f7005a29385015fd3d0a4f21014b5 (patch)
treefba3d572bc3cdcaecaa1cb97806d659190094887 /lib/dvb/pmt.h
parentc49fe33f5c6a185d9350d5b63762eea447dd71a6 (diff)
downloadenigma2-d74be53af36f7005a29385015fd3d0a4f21014b5.tar.gz
enigma2-d74be53af36f7005a29385015fd3d0a4f21014b5.zip
make PMT events enum accessible in python
Diffstat (limited to 'lib/dvb/pmt.h')
-rw-r--r--lib/dvb/pmt.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/dvb/pmt.h b/lib/dvb/pmt.h
index 95d3cc43..086619d3 100644
--- a/lib/dvb/pmt.h
+++ b/lib/dvb/pmt.h
@@ -1,6 +1,7 @@
#ifndef __lib_dvb_dvbmid_h
#define __lib_dvb_dvbmid_h
+#ifndef SWIG
#include <map>
#include <lib/dvb/idvb.h>
#include <lib/dvb/dvb.h>
@@ -44,8 +45,11 @@ public:
void buildCAPMT(eTable<ProgramMapSection> *ptr);
};
+#endif
+
class eDVBServicePMTHandler: public Object
{
+#ifndef SWIG
friend class eDVBCAService;
eServiceReferenceDVB m_reference;
ePtr<eDVBService> m_service;
@@ -79,7 +83,14 @@ class eDVBServicePMTHandler: public Object
public:
eDVBServicePMTHandler();
~eDVBServicePMTHandler();
-
+#endif
+
+#ifdef SWIG
+private:
+ eDVBServicePMTHandler();
+public:
+#endif
+
enum
{
eventNoResources, // a requested resource couldn't be allocated
@@ -93,7 +104,7 @@ public:
eventSOF, // seek pre start
eventEOF, // a file playback did end
};
-
+#ifndef SWIG
Signal1<void,int> serviceEvent;
struct videoStream
@@ -171,6 +182,7 @@ public:
private:
bool m_have_cached_program;
program m_cached_program;
+#endif
};
#endif