- add plugins to settings menu and service menu

This commit is contained in:
svenhoefer
2014-09-28 22:07:47 +02:00
committed by [CST] Focus
parent a14d63b93b
commit 16e0975a29
2 changed files with 9 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ public:
private:
CPluginsExec pluginsExec;
CFrameBuffer * frameBuffer;
CConfigFile configfile;

View File

@@ -124,6 +124,14 @@ void CNeutrinoApp::InitMenu()
CMediaPlayerMenu::getInstance()->initMenuMedia(new CMenuWidget(LOCALE_MAINMENU_MEDIA, NEUTRINO_ICON_MULTIMEDIA, MENU_WIDTH), &personalize);
personalize.addPersonalizedItems();
//add I_TYPE_SETTING plugins
CMenuWidget &menuSettings = personalize.getWidget(MENU_SETTINGS);
menuSettings.integratePlugins(&pluginsExec, CPlugins::I_TYPE_SETTING);
//add I_TYPE_SERVICE plugins
CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE);
menuService.integratePlugins(&pluginsExec, CPlugins::I_TYPE_SERVICE);
}
//init main menu