X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0e3e7773e5d8e7ff159316db3de7fcfad57bb9e8..7fe561a6df44e7d71ff436a84bfd7e8881d24373:/lib/dvb/pmt.h diff --git a/lib/dvb/pmt.h b/lib/dvb/pmt.h index 185000d9..a0820c58 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 #include #include @@ -44,8 +45,11 @@ public: void buildCAPMT(eTable *ptr); }; +#endif + class eDVBServicePMTHandler: public Object { +#ifndef SWIG friend class eDVBCAService; eServiceReferenceDVB m_reference; ePtr 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 serviceEvent; struct videoStream @@ -132,7 +143,7 @@ public: int teletext_magazine_number; // used for teletext subtitles }; std::string language_code; - bool operator<(const subtitleStream &s) + bool operator<(const subtitleStream &s) const { if (pid != s.pid) return pid < s.pid; @@ -152,6 +163,8 @@ public: int pmtPid; int textPid; bool isCrypted() { return !caids.empty(); } + + PyObject *createPythonObject(); }; int getProgramInfo(struct program &program); @@ -171,6 +184,7 @@ public: private: bool m_have_cached_program; program m_cached_program; +#endif }; #endif