Audacity 3.2.0
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
20class ChoiceSetting;
21class ShuttleGui;
22
23#define EFFECTS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Effects") }
24
25class EffectsPrefs final : public PrefsPanel
26{
27 public:
28 EffectsPrefs(wxWindow * parent, wxWindowID winid);
30 ComponentInterfaceSymbol GetSymbol() const override;
31 TranslatableString GetDescription() const override;
32
33 bool Commit() override;
34 ManualPageID HelpPageName() override;
35 void PopulateOrExchange(ShuttleGui & S) override;
36
37 private:
38 void Populate();
39};
40
41AUDACITY_DLL_API extern BoolSetting SkipEffectsScanAtStartup;
42AUDACITY_DLL_API extern ChoiceSetting EffectsGroupBy;
43AUDACITY_DLL_API extern ChoiceSetting RealtimeEffectsGroupBy;
44#endif
AUDACITY_DLL_API ChoiceSetting RealtimeEffectsGroupBy
AUDACITY_DLL_API BoolSetting SkipEffectsScanAtStartup
AUDACITY_DLL_API ChoiceSetting EffectsGroupBy
#define S(N)
Definition: ToChars.cpp:64
This specialization of Setting for bool adds a Toggle method to negate the saved value.
Definition: Prefs.h:346
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A PrefsPanel for general GUI preferences.
Definition: EffectsPrefs.h:26
void PopulateOrExchange(ShuttleGui &S) override
EffectsPrefs(wxWindow *parent, wxWindowID winid)
bool Commit() override
ComponentInterfaceSymbol GetSymbol() const override
TranslatableString GetDescription() const override
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,...
Definition: PrefsPanel.h:51
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
Holds a msgid for the translation catalog; may also bind format arguments.