| 12 | namespace PluginSettings { |
| 13 | |
| 14 | bool HasConfigGroup( const EffectDefinitionInterface &ident, |
| 15 | PluginSettings::ConfigurationType type, |
| 16 | const RegistryPath & group) |
| 17 | { |
| 18 | auto &pluginManager = PluginManager::Get(); |
| 19 | const auto &id = pluginManager.GetID(&ident); |
| 20 | if (pluginManager.HasConfigGroup(type, id, group)) |
| 21 | return true; |
| 22 | if (auto id2 = pluginManager.OldGetID(&ident); id != id2) |
| 23 | return pluginManager.HasConfigGroup(type, id2, group); |
| 24 | return false; |
| 25 | } |
| 26 | |
| 27 | bool GetConfigSubgroups( const EffectDefinitionInterface &ident, |
| 28 | PluginSettings::ConfigurationType type, |
no test coverage detected