X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/54bd4123728628a6f77bad2584b70d1353a91666..8a7fd294aeb67932e1057bf967958bbe5a959cfb:/lib/components/scan.h diff --git a/lib/components/scan.h b/lib/components/scan.h index afa68689..62456138 100644 --- a/lib/components/scan.h +++ b/lib/components/scan.h @@ -7,13 +7,13 @@ class eDVBScan; class eComponentScan: public Object, public iObject { -DECLARE_REF; +DECLARE_REF(eComponentScan); private: void scanEvent(int event); ePtr m_scan_event_connection; ePtr m_scan; - int m_done; + int m_done, m_failed; public: eComponentScan(); ~eComponentScan(); @@ -26,9 +26,11 @@ public: /* get number of services */ int getNumServices(); - /* true when done. */ + /* true when done or error */ int isDone(); + int getError(); + int start(); };