aboutsummaryrefslogtreecommitdiff
path: root/lib/components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/components')
-rw-r--r--lib/components/scan.cpp8
-rw-r--r--lib/components/scan.h3
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/components/scan.cpp b/lib/components/scan.cpp
index 2870388a..79fe2ef5 100644
--- a/lib/components/scan.cpp
+++ b/lib/components/scan.cpp
@@ -114,6 +114,14 @@ int eComponentScan::start(int feid, int flags)
return 0;
}
+RESULT eComponentScan::getFrontend(ePtr<iDVBFrontend> &fe)
+{
+ if (m_scan)
+ return m_scan->getFrontend(fe);
+ fe = 0;
+ return -1;
+}
+
int eComponentScan::getProgress()
{
if (!m_scan)
diff --git a/lib/components/scan.h b/lib/components/scan.h
index fb6b921f..e4bb41ee 100644
--- a/lib/components/scan.h
+++ b/lib/components/scan.h
@@ -46,7 +46,8 @@ public:
/* please keep the flags in sync with lib/dvb/scan.h ! */
enum { scanNetworkSearch=1, scanRemoveServices=4, scanDontRemoveFeeds=8, clearToScanOnFirstNIT = 16 };
- int start(int feid, int flags=0);
+ int start(int feid, int flags=0 );
+ SWIG_VOID(RESULT) getFrontend(ePtr<iDVBFrontend> &SWIG_OUTPUT);
};
#endif