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

Function IsEnabledPlugin

src/menus/MenuHelper.cpp:520–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520bool IsEnabledPlugin(const PluginDescriptor* plug)
521{
522 if( PluginManager::Get().IsPluginLoaded(plug->GetID()) && EffectManager::Get().IsHidden(plug->GetID()) )
523 return false;
524 if ( !plug->IsEnabled() ){
525 return false;// don't add to menus!
526 }
527 return true;
528}
529
530bool IsDefaultPlugin(const PluginDescriptor* plug)
531{

Callers 2

MakeGroupsFilterFunction · 0.85
PopulateEffectsMenuMethod · 0.85

Calls 5

GetFunction · 0.85
IsPluginLoadedMethod · 0.80
IsHiddenMethod · 0.80
GetIDMethod · 0.45
IsEnabledMethod · 0.45

Tested by

no test coverage detected