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

Function GetConfigSubgroups

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

Source from the content-addressed store, hash-verified

25}
26
27bool GetConfigSubgroups( const EffectDefinitionInterface &ident,
28 PluginSettings::ConfigurationType type,
29 const RegistryPath & group, RegistryPaths &subgroups)
30{
31 auto &pluginManager = PluginManager::Get();
32 const auto &id = pluginManager.GetID(&ident);
33 if (pluginManager.GetConfigSubgroups(
34 type, id, group, subgroups))
35 return true;
36 if (auto id2 = pluginManager.OldGetID(&ident); id != id2)
37 return pluginManager.GetConfigSubgroups(type, id2, group, subgroups);
38 return false;
39}
40
41bool HasConfigValue( const EffectDefinitionInterface &ident,
42 PluginSettings::ConfigurationType type,

Callers 2

GetUserPresetsFunction · 0.85
LoadUserPresetsMethod · 0.85

Calls 4

GetFunction · 0.85
GetConfigSubgroupsMethod · 0.80
OldGetIDMethod · 0.80
GetIDMethod · 0.45

Tested by

no test coverage detected