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 PluginProvider;
22class ShuttleGui;
24
25#define EFFECTS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Effects") }
26
27class EffectsPrefs final : public PrefsPanel
28{
29 public:
30 EffectsPrefs(wxWindow * parent, wxWindowID winid);
32 ComponentInterfaceSymbol GetSymbol() const override;
33 TranslatableString GetDescription() const override;
34
35 bool Commit() override;
36 ManualPageID HelpPageName() override;
37 void PopulateOrExchange(ShuttleGui & S) override;
38
39 private:
40 void Populate();
41
42 std::vector<std::pair<PluginProvider*, EffectsLocationPanel*>> mLocations;
43};
44
45AUDACITY_DLL_API extern BoolSetting SkipEffectsScanAtStartup;
46AUDACITY_DLL_API extern ChoiceSetting EffectsGroupBy;
47AUDACITY_DLL_API extern ChoiceSetting RealtimeEffectsGroupBy;
48#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:28
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.
std::vector< std::pair< PluginProvider *, EffectsLocationPanel * > > mLocations
Definition: EffectsPrefs.h:42
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.