}
}
+ if (evt == eDVBScan::evtNewService)
+ {
+ newService();
+ return;
+ }
+
if (evt == eDVBScan::evtFail)
{
eDebug("scan failed.");
}
-int eComponentScan::start(int flags)
+int eComponentScan::start(int feid, int flags)
{
if (m_initial.empty())
return -2;
eUsePtr<iDVBChannel> channel;
- if (mgr->allocateRawChannel(channel))
+ if (mgr->allocateRawChannel(channel, feid))
{
- eDebug("scan: allocating raw channel failed!");
+ eDebug("scan: allocating raw channel (on frontend %d) failed!", feid);
return -1;
}
{
return m_failed;
}
+
+void eComponentScan::getLastServiceName(std::string &string)
+{
+ if (!m_scan)
+ return;
+ m_scan->getLastServiceName(string);
+}