mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 17:08:07 +02:00
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.
27 lines
750 B
C
27 lines
750 B
C
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
Audacity(R) is copyright (c) 1999-2010 Audacity Team.
|
|
License: GPL v2. See License.txt.
|
|
|
|
MultiDialog.h
|
|
|
|
Monty
|
|
Vaughan Johnson
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_MULTIDIALOG__
|
|
#define __AUDACITY_MULTIDIALOG__
|
|
|
|
#include <wx/defs.h>
|
|
#include <wx/window.h>
|
|
|
|
// Display a dialog with radio buttons.
|
|
// Return the zero-based index of the chosen button.
|
|
int ShowMultiDialog(wxString message,
|
|
wxString title,
|
|
const wxChar **buttons, wxString boxMsg = _("Please select an action"), bool log = true);
|
|
|
|
#endif // __AUDACITY_MULTIDIALOG__
|