1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 09:31:15 +02:00

ModuleInterface::RegisterPlugin can report an error message

This commit is contained in:
Paul Licameli
2017-12-27 10:40:38 -05:00
parent f3a05540b0
commit 0f8bd45a7c
18 changed files with 75 additions and 23 deletions

View File

@@ -88,8 +88,10 @@ public:
// will be made to request registration of that plugin. If the module must create
// an instance of the plugin to register it, then then instance should be deleted
// after registration.
// Error message does not need to mention the path.
virtual bool RegisterPlugin(PluginManagerInterface & pluginManager,
const wxString & path) = 0;
const wxString & path,
wxString &errMsg) = 0;
// For modules providing an interface to other dynamically loaded plugins,
// the module returns true if the plugin is still valid, otherwise false.