add ability to select in scan what is todo with existing services (Clear before scan)
[enigma2.git] / lib / components / scan.h
index eb18f10430de34fcddf2840e0540f2ca1da77003..5a3ce4929aaa30ab3ebedb313cb0ab377675bb7a 100644 (file)
@@ -23,6 +23,7 @@ public:
        ~eComponentScan();
        
        PSignal0<void> statusChanged;
+       PSignal0<void> 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,7 +45,7 @@ public:
        void addInitial(const eDVBFrontendParametersTerrestrial &p);
        
                /* please keep the flags in sync with lib/dvb/scan.h ! */
-       enum { scanNetworkSearch=1 };
+       enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8 };
        int start(int feid, int flags=0);
 };