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

Method CreateProviderInstance

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

Source from the content-addressed store, hash-verified

525}
526
527PluginProvider *ModuleManager::CreateProviderInstance(const PluginID & providerID,
528 const PluginPath & path)
529{
530 if (path.empty() && mProviders.find(providerID) != mProviders.end())
531 {
532 return mProviders[providerID].get();
533 }
534
535 return nullptr;
536}
537
538std::unique_ptr<ComponentInterface> ModuleManager::LoadPlugin(
539 const PluginID & providerID, const PluginPath & path)

Callers 4

DiscoverFunction · 0.80
DropFileMethod · 0.80
LoadMethod · 0.80
IsPluginAvailableMethod · 0.80

Calls 4

emptyMethod · 0.45
findMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected