diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-09-14 22:11:19 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-09-14 22:11:19 +0000 |
| commit | afe7d8cacb1875f0e86a9f970dac9280dba20462 (patch) | |
| tree | b922a201ee441ed6d032f984ac0fd11cfd8b5502 /lib/components | |
| parent | f5f70f0586875cf34ab93c7abd1cf7165badf399 (diff) | |
| download | enigma2-afe7d8cacb1875f0e86a9f970dac9280dba20462.tar.gz enigma2-afe7d8cacb1875f0e86a9f970dac9280dba20462.zip | |
some changes for new default skin
Diffstat (limited to 'lib/components')
| -rw-r--r-- | lib/components/scan.cpp | 8 | ||||
| -rw-r--r-- | lib/components/scan.h | 3 |
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 |
