fix seekable status when service is already running, only show infobar if InfoBarShow...
[enigma2.git] / lib / components / scan.h
index 04218b982067398b97ead1d9fb97e431cb5cdd45..fb6b921fca81ff9d870301f7b259aeabff2860e5 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,8 +45,8 @@ 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);
 };
 
 #endif