mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +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.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: f2ec46311c
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.
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -90,16 +90,18 @@ int CInfoMenu::showMenu()
|
||||
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, !CNeutrinoApp::getInstance()->channelList->isEmpty(), NULL, &streaminfo, NULL, CRCInput::RC_yellow);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_STREAMINFO, LOCALE_MENU_HINT_STREAMINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
#if 0
|
||||
mf = new CMenuForwarder(LOCALE_HDD_INFO_HEAD, true, NULL, &hddinfo, NULL, CRCInput::RC_blue);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_HDD_INFO, LOCALE_MENU_HINT_HDD_INFO);
|
||||
info->addItem(mf);
|
||||
|
||||
CBuildInfo buildinfo;
|
||||
mf = new CMenuForwarder(LOCALE_BUILDINFO_MENU, true, NULL, &buildinfo, NULL, CRCInput::RC_blue);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_IMAGEINFO, LOCALE_MENU_HINT_BUILDINFO);
|
||||
info->addItem(mf);
|
||||
#endif
|
||||
|
||||
//add I_TYPE_INFORMATION plugins
|
||||
info->integratePlugins(CPlugins::I_TYPE_INFORMATION, 1);
|
||||
//add PLUGIN_INTEGRATION_INFORMATION plugins
|
||||
info->integratePlugins(PLUGIN_INTEGRATION_INFORMATION, 1);
|
||||
|
||||
int res = info->exec(NULL, "");
|
||||
delete info;
|
||||
|
Reference in New Issue
Block a user