X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b0e09a2cd9a05a002222d79fb71848f4c7820ff3..09047544dbeddd0a5df972934c8863bef9e11a99:/lib/components/scan.h diff --git a/lib/components/scan.h b/lib/components/scan.h index 04218b98..e4bb41ee 100644 --- a/lib/components/scan.h +++ b/lib/components/scan.h @@ -23,6 +23,7 @@ public: ~eComponentScan(); PSignal0 statusChanged; + PSignal0 newService; /* progress between 0 and 100 */ int getProgress(); @@ -33,6 +34,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 +45,9 @@ public: void addInitial(const eDVBFrontendParametersTerrestrial &p); /* please keep the flags in sync with lib/dvb/scan.h ! */ - enum { scanNetworkSearch=1 }; - int start(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); }; #endif