Audacity 3.2.0
TracksBehaviorsPrefs.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 TracksBehaviorsPrefs.h
6
7 Brian Gunlogson
8 Joshua Haberman
9 James Crook
10 Steve Daulton
11
12**********************************************************************/
13
14#ifndef __AUDACITY_TRACKSBEHAVIORS_PREFS__
15#define __AUDACITY_TRACKSBEHAVIORS_PREFS__
16
17#include "PrefsPanel.h"
18
19class ChoiceSetting;
20class ShuttleGui;
21
22#define TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Tracks Behaviors") }
23
24class AUDACITY_DLL_API TracksBehaviorsPrefs final : public PrefsPanel
25{
26 public:
27 TracksBehaviorsPrefs(wxWindow * parent, wxWindowID winid);
29 ComponentInterfaceSymbol GetSymbol() const override;
30 TranslatableString GetDescription() const override;
31
32 bool Commit() override;
33 ManualPageID HelpPageName() override;
34
35 private:
36 void Populate();
37 void PopulateOrExchange(ShuttleGui & S) override;
38};
39
40extern AUDACITY_DLL_API ChoiceSetting TracksBehaviorsSolo;
41
42#endif
#define S(N)
Definition: ToChars.cpp:64
AUDACITY_DLL_API ChoiceSetting TracksBehaviorsSolo
virtual ComponentInterfaceSymbol GetSymbol() const =0
virtual TranslatableString GetDescription() const =0
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Definition: PrefsPanel.h:51
virtual ManualPageID HelpPageName()
If not empty string, the Help button is added below the panel.
Definition: PrefsPanel.cpp:98
virtual bool Commit()=0
virtual void PopulateOrExchange(ShuttleGui &WXUNUSED(S))
Definition: PrefsPanel.h:116
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:628
A PrefsPanel for Tracks Behaviors settings.
Holds a msgid for the translation catalog; may also bind format arguments.