24#include <wx/filename.h>
51 return XO(
"Preferences for Module");
56 return "Modules_Preferences";
84 gPrefs->Read( wxString(
wxT(
"/ModulePath/") ) +
str, &fname, wxEmptyString );
85 if( !fname.empty() && wxFileExists( fname ) ){
120"These are experimental modules. Enable them only if you've read the Audacity Manual\nand know what you are doing.") );
123" 'Ask' means Audacity will ask if you want to load the module each time it starts.") );
126" 'Failed' means Audacity thinks the module is broken and won't run it.") );
129" 'New' means no choice has been made yet.") );
131"Changes to these settings only take effect when Audacity starts up."));
133 S.StartMultiColumn( 2 );
150 S.AddFixedText(
XO(
"No modules were found") );
162 for(i=0;i<(int)
mPaths.size();i++)
167#ifdef EXPERIMENTAL_MODULE_PREFS
#define MODULE_PREFS_PLUGIN_SYMBOL
TranslatableString Verbatim(wxString str)
Require calls to the one-argument constructor to go through this distinct global function name.
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
virtual bool GetNextEntry(wxString &str, long &lIndex) const wxOVERRIDE
virtual void SetPath(const wxString &strPath) wxOVERRIDE
virtual bool GetFirstEntry(wxString &str, long &lIndex) const wxOVERRIDE
A PrefsPanel to enable/disable certain modules. 'Modules' are dynamically linked libraries that modif...
void PopulateOrExchange(ShuttleGui &S) override
ModulePrefs(wxWindow *parent, wxWindowID winid)
ComponentInterfaceSymbol GetSymbol() const override
TranslatableString GetDescription() const override
void GetAllModuleStatuses()
std::vector< int > mStatuses
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
MODULE_MANAGER_API void SetModuleStatus(const FilePath &fname, int iStatus)