From afe7d8cacb1875f0e86a9f970dac9280dba20462 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 14 Sep 2007 22:11:19 +0000 Subject: some changes for new default skin --- lib/components/scan.cpp | 8 ++++++++ lib/components/scan.h | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'lib/components') 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 &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 &SWIG_OUTPUT); }; #endif -- cgit v1.2.3