usermenu: allow testmenu in usermenu

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7fcf19b967
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-12 (Mon, 12 Dec 2016)

Origin message was:
------------------
- usermenu: allow testmenu in usermenu

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-12-12 20:35:29 +01:00
parent fc5ac2e94e
commit f673e1c62b
8 changed files with 14 additions and 3 deletions

View File

@@ -72,6 +72,7 @@
#include <gui/network_setup.h>
#include <gui/update_menue.h>
#include <gui/hdd_menu.h>
#include <gui/test_menu.h> //NI
#include <gui/webtv_setup.h>
#include <driver/radiotext.h>
@@ -474,6 +475,10 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
menu_item = new CMenuForwarder(LOCALE_SERVICEMENU_RESTART_TUNER, true, NULL, neutrino, "restarttuner", key, icon);
menu_item->setHint(NEUTRINO_ICON_HINT_RELOAD_CHANNELS, LOCALE_MENU_HINT_RESTART_TUNER);
break;
case SNeutrinoSettings::ITEM_TESTMENU:
keyhelper.get(&key,&icon);
menu_item = new CMenuDForwarder(LOCALE_TESTMENU, true, NULL, new CTestMenu(), NULL, key, icon);
break;
case -1: // plugin
{
int number_of_plugins = g_PluginList->getNumberOfPlugins();