| 495 | } |
| 496 | |
| 497 | void ModuleManager::InitializeBuiltins() |
| 498 | { |
| 499 | for (const auto& pluginProviderFactory : builtinProviderList()) |
| 500 | { |
| 501 | auto pluginProvider = pluginProviderFactory(); |
| 502 | |
| 503 | if (pluginProvider && pluginProvider->Initialize()) { |
| 504 | PluginProviderUniqueHandle handle { std::move(pluginProvider) }; |
| 505 | |
| 506 | auto id = GetID(handle.get()); |
| 507 | |
| 508 | // Need to remember it |
| 509 | mProviders[id] = std::move(handle); |
| 510 | } |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | bool ModuleManager::RegisterEffectPlugin(const PluginID & providerID, const PluginPath & path, TranslatableString &errMsg) |
| 515 | { |
nothing calls this directly
no test coverage detected