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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user