Audacity  3.0.0
ProjectsPrefs.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  ProjectsPrefs.h
6 
7  Joshua Haberman
8  Dominic Mazzoni
9  James Crook
10 
11 **********************************************************************/
12 
13 #ifndef __AUDACITY_PROJECT_PREFS__
14 #define __AUDACITY_PROJECT_PREFS__
15 
16 #include <wx/defs.h>
17 
18 #include "PrefsPanel.h"
19 
20 class ShuttleGui;
21 
22 #define PROJECTS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Projects") }
23 
24 class ProjectsPrefs final : public PrefsPanel
25 {
26  public:
27  ProjectsPrefs(wxWindow * parent, wxWindowID winid);
31 
32  bool Commit() override;
33  wxString HelpPageName() override;
34  void PopulateOrExchange(ShuttleGui & S) override;
35 
36  private:
37  void Populate();
38 };
39 
40 #endif
TranslatableString
Definition: Types.h:306
PrefsPanel.h
ComponentInterfaceSymbol
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Definition: ComponentInterface.h:60
ProjectsPrefs
A PrefsPanel used to select options related to Audacity Project handling.
Definition: ProjectsPrefs.h:25
ProjectsPrefs::Commit
bool Commit() override
Definition: ProjectsPrefs.cpp:92
ProjectsPrefs::PopulateOrExchange
void PopulateOrExchange(ShuttleGui &S) override
Definition: ProjectsPrefs.cpp:72
ProjectsPrefs::GetSymbol
ComponentInterfaceSymbol GetSymbol() override
Definition: ProjectsPrefs.cpp:45
ProjectsPrefs::Populate
void Populate()
Creates the dialog and its contents.
Definition: ProjectsPrefs.cpp:61
PrefsPanel
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Definition: PrefsPanel.h:50
ProjectsPrefs::~ProjectsPrefs
~ProjectsPrefs()
Definition: ProjectsPrefs.cpp:41
ProjectsPrefs::GetDescription
TranslatableString GetDescription() override
Definition: ProjectsPrefs.cpp:50
ProjectsPrefs::ProjectsPrefs
ProjectsPrefs(wxWindow *parent, wxWindowID winid)
Definition: ProjectsPrefs.cpp:33
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:634
ProjectsPrefs::HelpPageName
wxString HelpPageName() override
Definition: ProjectsPrefs.cpp:55