remove non working indication of playable services in servicelist
[enigma2.git] / lib / dvb / pmt.h
index bf83a70..5f3d477 100644 (file)
@@ -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<iDVBDemux> &demux);
        int getPVRChannel(ePtr<iDVBPVRChannel> &pvr_channel);
-       
-       int tune(eServiceReferenceDVB &ref);    
+       int getService(eServiceReferenceDVB &service) { service = m_reference; return 0; }
+       int getPMT(ePtr<eTable<ProgramMapSection> > &ptr) { return m_PMT.getCurrent(ptr); }
+       int getChannel(eUsePtr<iDVBChannel> &channel);
+
+       int tune(eServiceReferenceDVB &ref);
 };
 
 #endif