CTestMenu: disable tuner test code

Doesn't work with newer frontend api, and not really required.
This commit is contained in:
2014-08-27 22:31:20 +02:00
parent 1dcfc52a33
commit 1f81228d7b

View File

@@ -311,6 +311,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
return res;
}
#if 0 //some parts DEPRECATED
else if (actionKey.find("22kon") != std::string::npos)
{
int fnum = atoi(actionKey.substr(5, 1).c_str());
@@ -366,6 +367,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
scanTs.exec(NULL, "manual");
return res;
}
#endif
else if (actionKey == "button"){
if (button == NULL)
button = new CComponentsButtonRed(100, 100, 100, 50, "Test");
@@ -796,7 +798,7 @@ void CTestMenu::showHWTests(CMenuWidget *widget)
widget->addItem(new CMenuForwarder("Smartcard 2", true, NULL, this, "card1"));
widget->addItem(new CMenuForwarder("HDD", true, NULL, this, "hdd"));
widget->addItem(new CMenuForwarder("SD/MMC", true, NULL, this, "mmc"));
#if 0 //some parts DEPRECATED
for (unsigned i = 0; i < sizeof(test_pos)/sizeof(int); i++) {
CServiceManager::getInstance()->InitSatPosition(test_pos[i], NULL, true);
}
@@ -843,4 +845,5 @@ void CTestMenu::showHWTests(CMenuWidget *widget)
}
}
CFEManager::getInstance()->linkFrontends(true);
#endif
}