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

Function HasConfigValue

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

Source from the content-addressed store, hash-verified

39}
40
41bool 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
54bool GetConfigValue( const EffectDefinitionInterface& ident,
55 PluginSettings::ConfigurationType type,

Callers 1

HasConfigValueMethod · 0.85

Calls 4

GetFunction · 0.85
HasConfigValueMethod · 0.80
OldGetIDMethod · 0.80
GetIDMethod · 0.45

Tested by

no test coverage detected