mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-17 11:40:35 +02:00
Simplify memory management in PluginManager
This commit is contained in:
@@ -96,9 +96,10 @@ public:
|
||||
bool RegisterEffectPlugin(const PluginID & provider, const PluginPath & path,
|
||||
TranslatableString &errMsg);
|
||||
|
||||
ModuleInterface *CreateProviderInstance(const PluginID & provider, const PluginPath & path);
|
||||
ComponentInterface *CreateInstance(const PluginID & provider, const PluginPath & path);
|
||||
void DeleteInstance(const PluginID & provider, ComponentInterface *instance);
|
||||
ModuleInterface *CreateProviderInstance(
|
||||
const PluginID & provider, const PluginPath & path);
|
||||
std::unique_ptr<ComponentInterface>
|
||||
CreateInstance(const PluginID & provider, const PluginPath & path);
|
||||
|
||||
bool IsProviderValid(const PluginID & provider, const PluginPath & path);
|
||||
bool IsPluginValid(const PluginID & provider, const PluginPath & path, bool bFast);
|
||||
|
||||
Reference in New Issue
Block a user