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

Method OnPluginFound

src/PluginStartupRegistration.cpp:141–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void PluginStartupRegistration::OnPluginFound(const PluginDescriptor& desc)
142{
143 if(!mValidProviderFound)
144 mFailedPluginsCache.clear();
145
146 mValidProviderFound = true;
147 if(!desc.IsValid())
148 mFailedPluginsCache.push_back(desc);
149 PluginManager::Get().RegisterPlugin(PluginDescriptor { desc });
150}
151
152void PluginStartupRegistration::OnPluginValidationFailed(const wxString& providerId, const wxString& path)
153{

Callers 1

HandleResultMethod · 0.80

Calls 5

GetFunction · 0.85
RegisterPluginMethod · 0.80
clearMethod · 0.45
IsValidMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected