ePtr<iDVBChannel> channel;
if (mgr->allocateRawChannel(channel))
+ {
eDebug("scan: allocating raw channel failed!");
+ return -1;
+ }
std::list<ePtr<iDVBFrontendParameters> > list;
m_scan = new eDVBScan(channel);
m_scan->connectEvent(slot(*this, &eComponentScan::scanEvent), m_scan_event_connection);
m_scan->start(list);
-
+
return 0;
}
{
return m_done;
}
+
+int eComponentScan::getError()
+{
+ return m_failed;
+}