numberzap accepts a maximum of 4 digits
[enigma2.git] / lib / dvb / esection.h
index 78895e7..2d71eef 100644 (file)
@@ -1,12 +1,12 @@
 #ifndef __esection_h
 #define __esection_h
 
-#include <lib/dvb/isection.h>
+#include <lib/dvb/idemux.h>
 #include <set>
 
 class eGTable: public iObject, public Object
 {
-DECLARE_REF;
+DECLARE_REF(eGTable);
 private:
        ePtr<iDVBSectionReader> m_reader;
        eDVBTableSpec m_table;
@@ -52,11 +52,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: