aboutsummaryrefslogtreecommitdiff
path: root/lib/components/scan.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-01-14 17:59:32 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-01-14 17:59:32 +0000
commitcc9862b55b147eb78581813ba70d574940ac103d (patch)
tree895468d5149bb56e7f751c98ea6c42d168736e5c /lib/components/scan.cpp
parent742956672b795d0ffa44575f9a8e0255b768915c (diff)
downloadenigma2-cc9862b55b147eb78581813ba70d574940ac103d.tar.gz
enigma2-cc9862b55b147eb78581813ba70d574940ac103d.zip
display last 7 services during scan
Diffstat (limited to 'lib/components/scan.cpp')
-rw-r--r--lib/components/scan.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/components/scan.cpp b/lib/components/scan.cpp
index bfbb02da..c21e8f4b 100644
--- a/lib/components/scan.cpp
+++ b/lib/components/scan.cpp
@@ -33,6 +33,12 @@ void eComponentScan::scanEvent(int evt)
}
}
+ if (evt == eDVBScan::evtNewService)
+ {
+ newService();
+ return;
+ }
+
if (evt == eDVBScan::evtFail)
{
eDebug("scan failed.");
@@ -137,3 +143,10 @@ int eComponentScan::getError()
{
return m_failed;
}
+
+void eComponentScan::getLastServiceName(std::string &string)
+{
+ if (!m_scan)
+ return;
+ m_scan->getLastServiceName(string);
+}