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

Function MakeGroupsFilter

src/menus/MenuHelper.cpp:547–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547auto MakeGroupsFilter(const EffectsMenuGroups& list) -> auto
548{
549 return [=](const PluginDescriptor* plug)
550 {
551 if(!IsEnabledPlugin(plug))
552 return false;
553
554 for(auto& p : list)
555 {
556 for(auto& name : p.second)
557 {
558 if(name == plug->GetSymbol().Msgid())
559 return true;
560 }
561 }
562 return false;
563 };
564}
565
566}
567

Callers 1

PopulateEffectsMenuMethod · 0.85

Calls 2

IsEnabledPluginFunction · 0.85
GetSymbolMethod · 0.45

Tested by

no test coverage detected