X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/5cdabb1038ec3f628001f26f5d587eb95ca6465d..2e0270746af934180499931f95ed91c444c8233e:/lib/components/scan.h diff --git a/lib/components/scan.h b/lib/components/scan.h index eb18f104..3d8984e1 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; @@ -23,6 +22,7 @@ public: ~eComponentScan(); PSignal0 statusChanged; + PSignal0 newService; /* progress between 0 and 100 */ int getProgress(); @@ -33,6 +33,9 @@ public: /* true when done or error */ int isDone(); + /* get last added service */ + void getLastServiceName(std::string &SWIG_OUTPUT); + int getError(); void clear(); @@ -41,8 +44,10 @@ public: void addInitial(const eDVBFrontendParametersTerrestrial &p); /* please keep the flags in sync with lib/dvb/scan.h ! */ - enum { scanNetworkSearch=1 }; - int start(int feid, int flags=0); + enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8, clearToScanOnFirstNIT = 16 }; + int start(int feid, int flags=0 ); + SWIG_VOID(RESULT) getFrontend(ePtr &SWIG_OUTPUT); + SWIG_VOID(RESULT) getCurrentTransponder(ePtr &SWIG_OUTPUT); }; #endif