mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -121,6 +121,11 @@ void CNeutrinoApp::InitMenu()
|
|||||||
CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE);
|
CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE);
|
||||||
nextShortcut = (unsigned int)menuService.getNextShortcut();
|
nextShortcut = (unsigned int)menuService.getNextShortcut();
|
||||||
menuService.integratePlugins(PLUGIN_INTEGRATION_SERVICE, nextShortcut);
|
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
|
//init main menu
|
||||||
|
@@ -16,9 +16,7 @@ enum
|
|||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PLUGIN_INTEGRATION_DISABLED = 0,
|
PLUGIN_INTEGRATION_DISABLED = 0,
|
||||||
/*
|
|
||||||
PLUGIN_INTEGRATION_MAIN = 1,
|
PLUGIN_INTEGRATION_MAIN = 1,
|
||||||
*/
|
|
||||||
PLUGIN_INTEGRATION_MULTIMEDIA = 2,
|
PLUGIN_INTEGRATION_MULTIMEDIA = 2,
|
||||||
PLUGIN_INTEGRATION_SETTING = 3,
|
PLUGIN_INTEGRATION_SETTING = 3,
|
||||||
PLUGIN_INTEGRATION_SERVICE = 4,
|
PLUGIN_INTEGRATION_SERVICE = 4,
|
||||||
|
Reference in New Issue
Block a user