mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
plugin integration main menu added
This commit is contained in:
@@ -120,6 +120,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
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user