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

Function IsBundledPlugin

src/menus/MenuHelper.cpp:537–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537bool IsBundledPlugin(const PluginDescriptor* plug)
538{
539 if(IsDefaultPlugin(plug))
540 return true;
541 auto applicationResourcePath = wxFileName(FileNames::ResourcesDir());
542 auto pluginPath = wxFileName(plug->GetPath());
543 pluginPath.MakeAbsolute();
544 return pluginPath.GetPath().StartsWith(applicationResourcePath.GetPath());
545}
546
547auto MakeGroupsFilter(const EffectsMenuGroups& list) -> auto
548{

Callers 1

PopulateEffectsMenuMethod · 0.85

Calls 3

IsDefaultPluginFunction · 0.85
wxFileNameClass · 0.50
GetPathMethod · 0.45

Tested by

no test coverage detected