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

Method IsPluginRegistered

libraries/lib-module-manager/PluginManager.cpp:136–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool PluginManager::IsPluginRegistered(
137 const PluginPath &path, const TranslatableString *pName)
138{
139 for (auto &pair : mRegisteredPlugins) {
140 if (auto &descriptor = pair.second; descriptor.GetPath() == path) {
141 if (pName)
142 descriptor.SetSymbol(
143 { descriptor.GetSymbol().Internal(), *pName });
144 return true;
145 }
146 }
147 return false;
148}
149
150bool PluginManager::IsPluginLoaded(const wxString& ID) const
151{

Callers 4

AutoRegisterPluginsMethod · 0.80
AutoRegisterPluginsMethod · 0.80
AutoRegisterPluginsMethod · 0.80
AutoRegisterPluginsMethod · 0.80

Calls 3

SetSymbolMethod · 0.80
GetPathMethod · 0.45
GetSymbolMethod · 0.45

Tested by

no test coverage detected