X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/80132b0b269cb147e42c61824a73ad70f707acf5..cbb644f511c537b8cc1f209adf26f83939e80c3e:/lib/dvb/pmt.h diff --git a/lib/dvb/pmt.h b/lib/dvb/pmt.h index 95d3cc43..d1e28703 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 @@ -146,12 +157,15 @@ public: { std::vector videoStreams; std::vector audioStreams; + int defaultAudioStream; std::vector subtitleStreams; std::set caids; int pcrPid; int pmtPid; int textPid; bool isCrypted() { return !caids.empty(); } + + PyObject *createPythonObject(); }; int getProgramInfo(struct program &program); @@ -171,6 +185,7 @@ public: private: bool m_have_cached_program; program m_cached_program; +#endif }; #endif