mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- add plugins to settings menu and service menu
This commit is contained in:
@@ -74,6 +74,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
CPluginsExec pluginsExec;
|
||||||
CFrameBuffer * frameBuffer;
|
CFrameBuffer * frameBuffer;
|
||||||
|
|
||||||
CConfigFile configfile;
|
CConfigFile configfile;
|
||||||
|
@@ -124,6 +124,14 @@ void CNeutrinoApp::InitMenu()
|
|||||||
CMediaPlayerMenu::getInstance()->initMenuMedia(new CMenuWidget(LOCALE_MAINMENU_MEDIA, NEUTRINO_ICON_MULTIMEDIA, MENU_WIDTH), &personalize);
|
CMediaPlayerMenu::getInstance()->initMenuMedia(new CMenuWidget(LOCALE_MAINMENU_MEDIA, NEUTRINO_ICON_MULTIMEDIA, MENU_WIDTH), &personalize);
|
||||||
|
|
||||||
personalize.addPersonalizedItems();
|
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
|
//init main menu
|
||||||
|
Reference in New Issue
Block a user