add return code
[enigma2.git] / lib / dvb / demux.h
index fdec417..08d9f43 100644 (file)
@@ -14,13 +14,22 @@ class eDVBDemux: public iDVBDemux
        friend class eDVBVideo;
        friend class eDVBPCR;
        friend class eDVBTSRecorder;
+       friend class eDVBCAService;
+       Signal1<void, int> m_event;
 public:
+       enum {
+               evtFlush
+       };
        DECLARE_REF(eDVBDemux);
        eDVBDemux(int adapter, int demux);
        virtual ~eDVBDemux();
        RESULT createSectionReader(eMainloop *context, ePtr<iDVBSectionReader> &reader);
        RESULT createTSRecorder(ePtr<iDVBTSRecorder> &recorder);
        RESULT getMPEGDecoder(ePtr<iTSMPEGDecoder> &reader);
+       RESULT getSTC(pts_t &pts);
+       RESULT getCADemuxID(uint8_t &id) { id = demux; return 0; }
+       RESULT flush();
+       RESULT connectEvent(const Slot1<void,int> &event, ePtr<eConnection> &conn);
 };
 
 class eDVBSectionReader: public iDVBSectionReader, public Object