mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
plugin-code: cleanup from many unused code; ...
* remove intergration conversion because we can use the integer as it is
* update headers
Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.
Origin commit data
------------------
Commit: f0f0c1f55d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-08 (Fri, 08 Sep 2017)
Origin message was:
------------------
- plugin-code: cleanup from many unused code; ...
* remove intergration conversion because we can use the integer as it is
* update headers
Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.
This commit is contained in:
@@ -120,16 +120,16 @@ void CNeutrinoApp::InitMenu()
|
||||
|
||||
personalize.addPersonalizedItems();
|
||||
|
||||
//add I_TYPE_SETTING plugins
|
||||
//add PLUGIN_INTEGRATION_SETTING plugins
|
||||
unsigned int nextShortcut;
|
||||
CMenuWidget &menuSettings = personalize.getWidget(MENU_SETTINGS);
|
||||
nextShortcut = (unsigned int)menuSettings.getNextShortcut();
|
||||
menuSettings.integratePlugins(CPlugins::I_TYPE_SETTING, nextShortcut);
|
||||
menuSettings.integratePlugins(PLUGIN_INTEGRATION_SETTING, nextShortcut);
|
||||
|
||||
//add I_TYPE_SERVICE plugins
|
||||
//add PLUGIN_INTEGRATION_SERVICE plugins
|
||||
CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE);
|
||||
nextShortcut = (unsigned int)menuService.getNextShortcut();
|
||||
menuService.integratePlugins(CPlugins::I_TYPE_SERVICE, nextShortcut);
|
||||
menuService.integratePlugins(PLUGIN_INTEGRATION_SERVICE, nextShortcut);
|
||||
}
|
||||
|
||||
//init main menu
|
||||
|
Reference in New Issue
Block a user