Audacity  2.2.0
ModulePrefs Class Referencefinal

A PrefsPanel to enable/disable certain modules. 'Modules' are dynamically linked libraries that modify Audacity. They are plug-ins with names like mnod-script-pipe that add NEW features. More...

#include <ModulePrefs.h>

Inheritance diagram for ModulePrefs:
PrefsPanel wxTabTraversalWrapper< Base >

Public Member Functions

 ModulePrefs (wxWindow *parent)
 
 ~ModulePrefs ()
 
bool Commit () override
 
wxString HelpPageName () override
 
- Public Member Functions inherited from PrefsPanel
 PrefsPanel (wxWindow *parent, const wxString &title)
 
virtual ~PrefsPanel ()
 
virtual void Preview ()
 
virtual bool ShowsPreviewButton ()
 
virtual void Cancel ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Static Public Member Functions

static int GetModuleStatus (const wxString &fname)
 
static void SetModuleStatus (const wxString &fname, int iStatus)
 

Private Member Functions

void GetAllModuleStatuses ()
 
void Populate ()
 
void PopulateOrExchange (ShuttleGui &S)
 

Private Attributes

wxArrayString mModules
 
wxArrayInt mStatuses
 
wxArrayString mPaths
 

Detailed Description

A PrefsPanel to enable/disable certain modules. 'Modules' are dynamically linked libraries that modify Audacity. They are plug-ins with names like mnod-script-pipe that add NEW features.

Constructor & Destructor Documentation

ModulePrefs::ModulePrefs ( wxWindow *  parent)

References Populate().

ModulePrefs::~ModulePrefs ( )

Member Function Documentation

bool ModulePrefs::Commit ( )
overridevirtual
void ModulePrefs::GetAllModuleStatuses ( )
private

References gPrefs, kModuleDisabled, kModuleNew, mModules, mPaths, and mStatuses.

Referenced by Populate().

int ModulePrefs::GetModuleStatus ( const wxString &  fname)
static

References gPrefs, and kModuleNew.

Referenced by ModuleManager::Initialize().

wxString ModulePrefs::HelpPageName ( )
overridevirtual

Reimplemented from PrefsPanel.

void ModulePrefs::Populate ( )
private
void ModulePrefs::SetModuleStatus ( const wxString &  fname,
int  iStatus 
)
static

References gPrefs.

Referenced by Commit(), and ModuleManager::Initialize().

Member Data Documentation

wxArrayString ModulePrefs::mModules
private
wxArrayString ModulePrefs::mPaths
private

Referenced by Commit(), and GetAllModuleStatuses().

wxArrayInt ModulePrefs::mStatuses
private

The documentation for this class was generated from the following files: