mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-20 05:07:53 +01:00
Adding the ability to load 'non-recognised' modules, with a warning to the user (the main point).
Removing duplicate code from LoadModules, at the expense of making ModuleManager::Initialize more monolithic. Make MultiDialog a bit more general. Remove a few warnings. Some logging has been turned back on when loading libs, we could turn it off again. To test you could compile mod-nyq-bench and make sure it is available on the bottom of the 'View' menu, then unselect it in the Prefs -> Modules an retry.
This commit is contained in:
@@ -17,9 +17,6 @@
|
||||
|
||||
class CommandHandler;
|
||||
|
||||
void LoadModules(CommandHandler &cmdHandler);
|
||||
void LoadModule(wxString fname);
|
||||
|
||||
wxWindow * MakeHijackPanel();
|
||||
|
||||
//
|
||||
@@ -51,6 +48,7 @@ public:
|
||||
bool Load();
|
||||
void Unload();
|
||||
int Dispatch(ModuleDispatchTypes type);
|
||||
void * GetSymbol(wxString name);
|
||||
|
||||
private:
|
||||
wxString mName;
|
||||
@@ -67,7 +65,7 @@ public:
|
||||
virtual bool OnInit();
|
||||
virtual void OnExit();
|
||||
|
||||
static void Initialize();
|
||||
static void Initialize(CommandHandler &cmdHandler);
|
||||
static int Dispatch(ModuleDispatchTypes type);
|
||||
|
||||
private:
|
||||
@@ -79,14 +77,3 @@ private:
|
||||
};
|
||||
|
||||
#endif /* __AUDACITY_LOADMODULES_H__ */
|
||||
|
||||
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
|
||||
// version control system. Please do not modify past this point.
|
||||
//
|
||||
// Local Variables:
|
||||
// c-basic-offset: 3
|
||||
// indent-tabs-mode: nil
|
||||
// End:
|
||||
//
|
||||
// vim: et sts=3 sw=3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user