plugin integration main menu added

Origin commit data
------------------
Commit: 2e064d7887
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2018-09-03 (Mon, 03 Sep 2018)
This commit is contained in:
BPanther
2018-09-03 22:43:52 +02:00
committed by vanhofen
parent 35ead5fa71
commit 91226e5db5
2 changed files with 5 additions and 2 deletions

View File

@@ -121,6 +121,11 @@ void CNeutrinoApp::InitMenu()
CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE);
nextShortcut = (unsigned int)menuService.getNextShortcut();
menuService.integratePlugins(PLUGIN_INTEGRATION_SERVICE, nextShortcut);
//add PLUGIN_INTEGRATION_MAIN plugins
CMenuWidget &menuMain = personalize.getWidget(MENU_MAIN);
nextShortcut = (unsigned int)menuMain.getNextShortcut();
menuMain.integratePlugins(PLUGIN_INTEGRATION_MAIN, nextShortcut);
}
//init main menu

View File

@@ -16,9 +16,7 @@ enum
enum
{
PLUGIN_INTEGRATION_DISABLED = 0,
/*
PLUGIN_INTEGRATION_MAIN = 1,
*/
PLUGIN_INTEGRATION_MULTIMEDIA = 2,
PLUGIN_INTEGRATION_SETTING = 3,
PLUGIN_INTEGRATION_SERVICE = 4,