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

Method RegisterEffectPlugin

libraries/lib-module-manager/ModuleManager.cpp:514–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514bool ModuleManager::RegisterEffectPlugin(const PluginID & providerID, const PluginPath & path, TranslatableString &errMsg)
515{
516 errMsg = {};
517 if (mProviders.find(providerID) == mProviders.end())
518 {
519 return false;
520 }
521
522 auto nFound = mProviders[providerID]->DiscoverPluginsAtPath(path, errMsg, PluginManagerInterface::DefaultRegistrationCallback);
523
524 return nFound > 0;
525}
526
527PluginProvider *ModuleManager::CreateProviderInstance(const PluginID & providerID,
528 const PluginPath & path)

Callers 1

ApplyChangesMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
DiscoverPluginsAtPathMethod · 0.45

Tested by

no test coverage detected