X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fcomponents%2Fscan.h;h=e3bbfc33b15e945847612a9db5831d8192b5cbae;hb=a74f068a8eeea42990ac5261dcb7da2da577f2da;hp=e4bb41eea04d08688131c5cae5c663475720fc19;hpb=afe7d8cacb1875f0e86a9f970dac9280dba20462;p=vuplus_dvbapp diff --git a/lib/components/scan.h b/lib/components/scan.h index e4bb41e..e3bbfc3 100644 --- a/lib/components/scan.h +++ b/lib/components/scan.h @@ -8,8 +8,7 @@ class eDVBScan; class eComponentScan: public Object, public iObject { -DECLARE_REF(eComponentScan); -private: + DECLARE_REF(eComponentScan); #ifndef SWIG void scanEvent(int event); ePtr m_scan_event_connection; @@ -40,14 +39,17 @@ public: int getError(); void clear(); + void clearAll(); void addInitial(const eDVBFrontendParametersSatellite &p); void addInitial(const eDVBFrontendParametersCable &p); void addInitial(const eDVBFrontendParametersTerrestrial &p); /* please keep the flags in sync with lib/dvb/scan.h ! */ - enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8, clearToScanOnFirstNIT = 16 }; + enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8, scanDontRemoveUnscanned=16, clearToScanOnFirstNIT = 32, scanOnlyFree = 64 }; + int start(int feid, int flags=0 ); SWIG_VOID(RESULT) getFrontend(ePtr &SWIG_OUTPUT); + SWIG_VOID(RESULT) getCurrentTransponder(ePtr &SWIG_OUTPUT); }; #endif