| 39 | } |
| 40 | |
| 41 | bool HasConfigValue( const EffectDefinitionInterface &ident, |
| 42 | PluginSettings::ConfigurationType type, |
| 43 | const RegistryPath & group, const RegistryPath & key) |
| 44 | { |
| 45 | auto &pluginManager = PluginManager::Get(); |
| 46 | const auto &id = pluginManager.GetID(&ident); |
| 47 | if (pluginManager.HasConfigValue(type, id, group, key)) |
| 48 | return true; |
| 49 | if (auto id2 = pluginManager.OldGetID(&ident); id != id2) |
| 50 | return pluginManager.HasConfigValue(type, id2, group, key); |
| 51 | return false; |
| 52 | } |
| 53 | |
| 54 | bool GetConfigValue( const EffectDefinitionInterface& ident, |
| 55 | PluginSettings::ConfigurationType type, |
no test coverage detected