- add opera browser.(with hbbtv)
[vuplus_dvbapp] / lib / dvb / specs.h
index 6be938c..d6ddde4 100644 (file)
@@ -165,4 +165,44 @@ public:
        }
 };
 
+#include <dvbsi++/application_information_section.h>
+
+struct eDVBAITSpec
+{
+       eDVBTableSpec m_spec;
+public:
+       eDVBAITSpec(int pid)
+       {
+               m_spec.pid     = pid;
+               m_spec.tid     = ApplicationInformationSection::TID;
+               m_spec.timeout = ApplicationInformationSection::TIMEOUT;
+               m_spec.flags   = eDVBTableSpec::tfAnyVersion |
+                       eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC |
+                       eDVBTableSpec::tfHaveTimeout;
+       }
+       operator eDVBTableSpec &()
+       {
+               return m_spec;
+       }
+};
+
+struct eDVBDSMCCDLDataSpec
+{
+       eDVBTableSpec m_spec;
+public:
+       eDVBDSMCCDLDataSpec(int pid)
+       {
+               m_spec.pid     = pid;
+               m_spec.tid     = TID_DSMCC_DL_DATA;
+               m_spec.timeout = 20000;
+               m_spec.flags   = eDVBTableSpec::tfAnyVersion |
+                       eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC |
+                       eDVBTableSpec::tfHaveTimeout;
+       }
+       operator eDVBTableSpec &()
+       {
+               return m_spec;
+       }
+};
+
 #endif