mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +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:
@@ -1128,14 +1128,11 @@ bool AudacityApp::OnInit()
|
||||
wxFrame *temporarywindow = new wxFrame(NULL, -1, wxT("temporarytopwindow"));
|
||||
SetTopWindow(temporarywindow);
|
||||
|
||||
// Initialize the ModuleManager
|
||||
ModuleManager::Initialize();
|
||||
|
||||
// Initialize the CommandHandler
|
||||
InitCommandHandler();
|
||||
|
||||
// load audacity plug-in modules
|
||||
LoadModules(*mCmdHandler);
|
||||
// Initialize the ModuleManager, including loading found modules
|
||||
ModuleManager::Initialize(*mCmdHandler);
|
||||
|
||||
// Locale
|
||||
// wxWidgets 2.3 has a much nicer wxLocale API. We can make this code much
|
||||
|
||||
Reference in New Issue
Block a user