X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5..8c84c2a2c0b8d33404540ab50278de63d3c7fccc:/lib/dvb/esection.h diff --git a/lib/dvb/esection.h b/lib/dvb/esection.h index ca63c184..61182766 100644 --- a/lib/dvb/esection.h +++ b/lib/dvb/esection.h @@ -1,16 +1,18 @@ #ifndef __esection_h #define __esection_h -#include +#include #include -class eGTable: public virtual iObject, public Object +class eGTable: public iObject, public Object { -DECLARE_REF; +DECLARE_REF(eGTable); private: ePtr m_reader; eDVBTableSpec m_table; + int m_tries; + eTimer *m_timeout; void sectionRead(const __u8 *data); @@ -42,7 +44,6 @@ protected: delete sections[nr]; sections.resize(max); - sections[nr] = new Section(data); avail.insert(nr); @@ -52,11 +53,13 @@ protected: else printf("-"); - printf(" %d/%d\n", avail.size(), max); + printf(" %d/%d TID %02x\n", avail.size(), max, data[0]); if (avail.size() == max) + { + printf("done!\n"); return 1; - else + } else return 0; } public: