X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f0b5b5c0d6a4320b318f0a700492b6046a39e18a..20fdb2a2af40da98427a702a03a79b1fbec3d7af:/lib/dvb/pmt.h?ds=inline diff --git a/lib/dvb/pmt.h b/lib/dvb/pmt.h index bfef5b46..5f3d4777 100644 --- a/lib/dvb/pmt.h +++ b/lib/dvb/pmt.h @@ -37,8 +37,8 @@ class eDVBCAService: public Object eDVBCAService(); ~eDVBCAService(); public: - static RESULT register_demux( const eServiceReferenceDVB &ref, int demux_num, eDVBCAService *&caservice ); - static RESULT unregister_demux( const eServiceReferenceDVB &ref, int demux_num, eTable *ptr ); + static RESULT register_service( const eServiceReferenceDVB &ref, int demux_num, eDVBCAService *&caservice ); + static RESULT unregister_service( const eServiceReferenceDVB &ref, int demux_num, eTable *ptr ); void buildCAPMT(eTable *ptr); }; @@ -93,7 +93,9 @@ public: int pid; enum { atMPEG, atAC3, atDTS }; int type; // mpeg2, ac3, dts, ... - // language code, ... + + int component_tag; + std::string language_code; /* iso-639, if available. */ }; struct program @@ -108,8 +110,11 @@ public: int getProgramInfo(struct program &program); int getDemux(ePtr &demux); int getPVRChannel(ePtr &pvr_channel); - - int tune(eServiceReferenceDVB &ref); + int getService(eServiceReferenceDVB &service) { service = m_reference; return 0; } + int getPMT(ePtr > &ptr) { return m_PMT.getCurrent(ptr); } + int getChannel(eUsePtr &channel); + + int tune(eServiceReferenceDVB &ref); }; #endif