1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-04 05:17:47 +02:00

Separate detection of module load failure from error messaging

This commit is contained in:
Paul Licameli
2020-10-14 11:22:49 -04:00
parent e7f8f36700
commit 332ed4ab61
2 changed files with 18 additions and 7 deletions

View File

@@ -41,7 +41,8 @@ public:
Module(const FilePath & name);
virtual ~Module();
bool Load();
void ShowLoadFailureError(const wxString &Error);
bool Load(wxString &deferredErrorMessage);
void Unload();
bool HasDispatch() { return mDispatch != NULL; };
int Dispatch(ModuleDispatchTypes type);