mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
plugins: simplify integratePlugins(); ...
* CPluginsExec(): switch to singleton
* move CPluginsExec() to pluginlist.cpp|h
because it's not really a settings_helper
Origin commit data
------------------
Commit: 389c4c232f
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-10 (Mon, 10 Nov 2014)
Origin message was:
------------------
- plugins: simplify integratePlugins(); ...
* CPluginsExec(): switch to singleton
* move CPluginsExec() to pluginlist.cpp|h
because it's not really a settings_helper
This commit is contained in:
@@ -105,8 +105,7 @@ int CInfoMenu::showMenu()
|
||||
}
|
||||
|
||||
//add I_TYPE_INFORMATION plugins
|
||||
CPluginsExec pluginsExec;
|
||||
info->integratePlugins(&pluginsExec, CPlugins::I_TYPE_INFORMATION, 1);
|
||||
info->integratePlugins(CPlugins::I_TYPE_INFORMATION, 1);
|
||||
|
||||
int res = info->exec(NULL, "");
|
||||
delete info;
|
||||
|
Reference in New Issue
Block a user