| 52 | } |
| 53 | |
| 54 | bool GetConfigValue( const EffectDefinitionInterface& ident, |
| 55 | PluginSettings::ConfigurationType type, |
| 56 | const RegistryPath & group, const RegistryPath & key, |
| 57 | ConfigReference var, ConfigConstReference defval) |
| 58 | { |
| 59 | auto &pluginManager = PluginManager::Get(); |
| 60 | const auto &id = pluginManager.GetID(&ident); |
| 61 | if (pluginManager.GetConfigValue(type, id, group, key, var, defval)) |
| 62 | return true; |
| 63 | if (auto id2 = pluginManager.OldGetID(&ident); id != id2) |
| 64 | return pluginManager.GetConfigValue(type, id2, group, key, var, defval); |
| 65 | return false; |
| 66 | } |
| 67 | |
| 68 | bool SetConfigValue( const EffectDefinitionInterface& ident, |
| 69 | PluginSettings::ConfigurationType type, |
no test coverage detected