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:
vanhofen
2014-11-10 22:41:08 +01:00
parent 419e281a1e
commit cb354188c7
11 changed files with 55 additions and 52 deletions

View File

@@ -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;