add teletext parser
[enigma2.git] / lib / dvb / teletext.h
1 #ifndef __lib_dvb_teletext_h
2 #define __lib_dvb_teletext_h
3
4 #include <lib/base/object.h>
5 #include <lib/dvb/idvb.h>
6 #include <lib/dvb/pesparse.h>
7
8 class eDVBTeletextParser: public iObject, public ePESParser, public Object
9 {
10         DECLARE_REF(eDVBTeletextParser);
11 public:
12         eDVBTeletextParser(iDVBDemux *demux);
13         int start(int pid);
14         
15 private:
16         void processPESPacket(__u8 *pkt, int len);
17         
18         ePtr<iDVBPESReader> m_pes_reader;
19         ePtr<eConnection> m_read_connection;
20 };
21
22 #endif