1 #ifndef __lib_components_scan_h
2 #define __lib_components_scan_h
4 #include <lib/base/object.h>
5 #include <lib/dvb/idvb.h>
9 class eComponentScan: public Object, public iObject
11 DECLARE_REF(eComponentScan);
14 void scanEvent(int event);
15 ePtr<eConnection> m_scan_event_connection;
16 ePtr<eDVBScan> m_scan;
19 eSmartPtrList<iDVBFrontendParameters> m_initial;
25 PSignal0<void> statusChanged;
26 PSignal0<void> newService;
28 /* progress between 0 and 100 */
31 /* get number of services */
34 /* true when done or error */
37 /* get last added service */
38 void getLastServiceName(std::string &SWIG_OUTPUT);
43 void addInitial(const eDVBFrontendParametersSatellite &p);
44 void addInitial(const eDVBFrontendParametersCable &p);
45 void addInitial(const eDVBFrontendParametersTerrestrial &p);
47 /* please keep the flags in sync with lib/dvb/scan.h ! */
48 enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8, clearToScanOnFirstNIT = 16 };
49 int start(int feid, int flags=0);