mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
Remove extern frontend
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1568 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -46,8 +46,6 @@
|
||||
#include <zapit/satconfig.h>
|
||||
#include <zapit/frontend_c.h>
|
||||
|
||||
extern CFrontend * frontend;
|
||||
|
||||
static int g_sig;
|
||||
static int g_snr;
|
||||
static int last_snr = 0;
|
||||
@@ -416,7 +414,7 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &)
|
||||
}
|
||||
|
||||
hide();
|
||||
frontend->setTsidOnid(0);
|
||||
CFrontend::getInstance()->setTsidOnid(0);
|
||||
|
||||
return menu_return::RETURN_REPAINT;
|
||||
}
|
||||
@@ -703,8 +701,8 @@ void CMotorControl::showSNR()
|
||||
|
||||
int sw;
|
||||
|
||||
ssig = frontend->getSignalStrength();
|
||||
ssnr = frontend->getSignalNoiseRatio();
|
||||
ssig = CFrontend::getInstance()->getSignalStrength();
|
||||
ssnr = CFrontend::getInstance()->getSignalNoiseRatio();
|
||||
|
||||
snr = (ssnr & 0xFFFF) * 100 / 65535;
|
||||
sig = (ssig & 0xFFFF) * 100 / 65535;
|
||||
|
Reference in New Issue
Block a user