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

Method HasGroup

libraries/lib-module-manager/PluginManager.cpp:1427–1436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1425}
1426
1427bool PluginManager::HasGroup(const RegistryPath & groupName)
1428{
1429 auto settings = GetSettings();
1430
1431 if(!settings->HasGroup(groupName))
1432 return false;
1433
1434 auto group = settings->BeginGroup(groupName);
1435 return !settings->GetChildGroups().empty() || !settings->GetChildKeys().empty();
1436}
1437
1438bool PluginManager::GetSubgroups(const RegistryPath & groupName, RegistryPaths & subgroups)
1439{

Callers 2

OnSettingResetBeginMethod · 0.45
LoadMethod · 0.45

Calls 5

GetSettingsFunction · 0.85
BeginGroupMethod · 0.45
emptyMethod · 0.45
GetChildGroupsMethod · 0.45
GetChildKeysMethod · 0.45

Tested by

no test coverage detected