| 394 | } |
| 395 | |
| 396 | QStringList PluginContainer::pluginFileNames() const |
| 397 | { |
| 398 | QStringList result; |
| 399 | for (QPluginLoader* loader : m_PluginLoaders) { |
| 400 | result.append(loader->fileName()); |
| 401 | } |
| 402 | std::vector<IPluginProxy*> proxyList = bf::at_key<IPluginProxy>(m_Plugins); |
| 403 | for (IPluginProxy* proxy : proxyList) { |
| 404 | QStringList proxiedPlugins = |
| 405 | proxy->pluginList(QCoreApplication::applicationDirPath() + "/" + |
| 406 | ToQString(AppConfig::pluginPath())); |
| 407 | result.append(proxiedPlugins); |
| 408 | } |
| 409 | return result; |
| 410 | } |
| 411 | |
| 412 | QObject* PluginContainer::as_qobject(MOBase::IPlugin* plugin) const |
| 413 | { |
no test coverage detected