Audacity  3.0.3
EffectsPrefs.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  EffectsPrefs.h
6 
7  Brian Gunlogson
8  Joshua Haberman
9  James Crook
10 
11 **********************************************************************/
12 
13 #ifndef __AUDACITY_EFFECTS_PREFS__
14 #define __AUDACITY_EFFECTS_PREFS__
15 
16 #include <wx/defs.h>
17 
18 #include "PrefsPanel.h"
19 
20 class ChoiceSetting;
21 class ShuttleGui;
22 
23 #define EFFECTS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Effects") }
24 
25 class EffectsPrefs final : public PrefsPanel
26 {
27  public:
28  EffectsPrefs(wxWindow * parent, wxWindowID winid);
29  ~EffectsPrefs();
32 
33  bool Commit() override;
34  ManualPageID HelpPageName() override;
35  void PopulateOrExchange(ShuttleGui & S) override;
36 
37  private:
38  void Populate();
39 };
40 
41 AUDACITY_DLL_API extern ChoiceSetting EffectsGroupBy;
42 #endif
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
EffectsPrefs::~EffectsPrefs
~EffectsPrefs()
Definition: EffectsPrefs.cpp:37
PrefsPanel.h
EffectsPrefs::PopulateOrExchange
void PopulateOrExchange(ShuttleGui &S) override
Definition: EffectsPrefs.cpp:176
EffectsPrefs::Populate
void Populate()
Definition: EffectsPrefs.cpp:56
ComponentInterfaceSymbol
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Definition: ComponentInterfaceSymbol.h:27
EffectsGroupBy
AUDACITY_DLL_API ChoiceSetting EffectsGroupBy
Definition: EffectsPrefs.cpp:67
EffectsPrefs::EffectsPrefs
EffectsPrefs(wxWindow *parent, wxWindowID winid)
Definition: EffectsPrefs.cpp:31
ChoiceSetting
Definition: Prefs.h:267
EffectsPrefs::Commit
bool Commit() override
Definition: EffectsPrefs.cpp:241
EffectsPrefs::GetDescription
TranslatableString GetDescription() override
Definition: EffectsPrefs.cpp:46
EffectsPrefs::HelpPageName
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
Definition: EffectsPrefs.cpp:51
TaggedIdentifier< ManualPageIDTag >
EffectsPrefs
A PrefsPanel for general GUI preferences.
Definition: EffectsPrefs.h:26
PrefsPanel
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Definition: PrefsPanel.h:51
EffectsPrefs::GetSymbol
ComponentInterfaceSymbol GetSymbol() override
Definition: EffectsPrefs.cpp:41
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:631