~eComponentScan();
PSignal0<void> statusChanged;
+ PSignal0<void> newService;
/* progress between 0 and 100 */
int getProgress();
/* true when done or error */
int isDone();
+ /* get last added service */
+ void getLastServiceName(std::string &SWIG_OUTPUT);
+
int getError();
void clear();
void addInitial(const eDVBFrontendParametersSatellite &p);
void addInitial(const eDVBFrontendParametersCable &p);
void addInitial(const eDVBFrontendParametersTerrestrial &p);
- int start();
+
+ /* please keep the flags in sync with lib/dvb/scan.h ! */
+ enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8 };
+ int start(int feid, int flags=0);
};
#endif