MCPcopy Create free account
hub / github.com/audacity/audacity / GetConfigValue

Function GetConfigValue

libraries/lib-module-manager/ConfigInterface.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool 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
68bool SetConfigValue( const EffectDefinitionInterface& ident,
69 PluginSettings::ConfigurationType type,

Callers 2

GetConfigFunction · 0.85
GetConfigValueMethod · 0.85

Calls 4

GetFunction · 0.85
GetConfigValueMethod · 0.80
OldGetIDMethod · 0.80
GetIDMethod · 0.45

Tested by

no test coverage detected