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;
27 /* progress between 0 and 100 */
30 /* get number of services */
33 /* true when done or error */
39 void addInitial(const eDVBFrontendParametersSatellite &p);
40 void addInitial(const eDVBFrontendParametersCable &p);
41 void addInitial(const eDVBFrontendParametersTerrestrial &p);
43 /* please keep the flags in sync with lib/dvb/scan.h ! */
44 enum { scanNetworkSearch=1 };
45 int start(int feid, int flags=0);