predeclare eDVBCAService because it is used by the type definition of CAServiceMap,
[enigma2.git] / lib / dvb / pmt.h
index 995cc9be5b9dc4c821ce93d5fcb42596d814cb40..362c64cc345256b426a0e4dff8795dee30617a33 100644 (file)
@@ -15,7 +15,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-class eDVBServicePMTHandler;
+class eDVBCAService;
 
 typedef std::map<eServiceReferenceDVB, eDVBCAService*> CAServiceMap;
 
@@ -61,11 +61,14 @@ class eDVBServicePMTHandler: public Object
        
        void channelStateChanged(iDVBChannel *);
        ePtr<eConnection> m_channelStateChanged_connection;
+       void channelEvent(iDVBChannel *, int event);
+       ePtr<eConnection> m_channelEvent_connection;
 
        void PMTready(int error);
        void PATready(int error);
        
        int m_use_decode_demux;
+       
 public:
        eDVBServicePMTHandler();
        ~eDVBServicePMTHandler();
@@ -78,7 +81,9 @@ public:
                eventNoPATEntry,   // no pat entry for the corresponding SID could be found
                eventNoPMT,        // no pmt could be received (timeout)
                eventNewProgramInfo, // we just received a PMT
-               eventTuned         // a channel was sucessfully (re-)tuned in, you may start additional filters now
+               eventTuned,        // a channel was sucessfully (re-)tuned in, you may start additional filters now
+               
+               eventEOF,          // a file playback did end
        };
 
        Signal1<void,int> serviceEvent;
@@ -106,6 +111,7 @@ public:
                // ca info
                int pcrPid;
                int pmtPid;
+               int textPid;
                bool isCrypted;
        };