mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 17:11:12 +02:00
ModuleInterface::RegisterPlugin can report an error message
This commit is contained in:
@@ -199,8 +199,10 @@ wxArrayString VampEffectsModule::FindPlugins(PluginManagerInterface & WXUNUSED(p
|
||||
return names;
|
||||
}
|
||||
|
||||
bool VampEffectsModule::RegisterPlugin(PluginManagerInterface & pm, const wxString & path)
|
||||
bool VampEffectsModule::RegisterPlugin(PluginManagerInterface & pm,
|
||||
const wxString & path, wxString &errMsg)
|
||||
{
|
||||
errMsg.clear();
|
||||
int output;
|
||||
bool hasParameters;
|
||||
|
||||
|
@@ -44,7 +44,8 @@ public:
|
||||
|
||||
bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
|
||||
wxArrayString FindPlugins(PluginManagerInterface & pm) override;
|
||||
bool RegisterPlugin(PluginManagerInterface & pm, const wxString & path) override;
|
||||
bool RegisterPlugin(PluginManagerInterface & pm,
|
||||
const wxString & path, wxString &errMsg) override;
|
||||
|
||||
bool IsPluginValid(const wxString & path, bool bFast) override;
|
||||
|
||||
|
Reference in New Issue
Block a user