X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Fisection.h;h=2b48a6b16ae5413897f751e13a8face8adfdd95c;hp=04b50f528abacb40a5a5585f3c90ee7b14d2c495;hb=55b8dd6115c2bb0921842c6dc77aafb8d0a40c4f;hpb=d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5 diff --git a/lib/dvb/isection.h b/lib/dvb/isection.h index 04b50f5..2b48a6b 100644 --- a/lib/dvb/isection.h +++ b/lib/dvb/isection.h @@ -3,51 +3,13 @@ #include -#ifndef DMX_FILTER_SIZE -#define DMX_FILTER_SIZE 16 -#endif - -struct eDVBSectionFilterMask -{ - int pid; - /* mode is 0 for positive, 1 for negative filtering */ - __u8 data[DMX_FILTER_SIZE], mask[DMX_FILTER_SIZE], mode[DMX_FILTER_SIZE]; - enum { - rfCRC=1, - rfNoAbort=2 - }; - int flags; -}; - -struct eDVBTableSpec -{ - int pid, tid, tidext; - int version; - int timeout; /* timeout in ms */ - enum - { - tfInOrder=1, - /* - tfAnyVersion filter ANY version - 0 filter all EXCEPT given version (negative filtering) - tfThisVersion filter only THIS version - */ - tfAnyVersion=2, - tfThisVersion=4, - tfHaveTID=8, - tfHaveTIDExt=16, - tfCheckCRC=32, - tfHaveTimeout=64, - }; - int flags; -}; - -class iDVBSectionReader: public virtual iObject +class iDVBSectionReader: public iObject { public: virtual RESULT start(const eDVBSectionFilterMask &mask)=0; virtual RESULT stop()=0; virtual RESULT connectRead(const Slot1 &read, ePtr &conn)=0; + virtual ~iDVBSectionReader() { }; }; #endif