Audacity 3.2.0
PlaybackPrefs.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 PlaybackPrefs.h
6
7 Joshua Haberman
8 James Crook
9
10**********************************************************************/
11
12#ifndef __AUDACITY_PLAYBACK_PREFS__
13#define __AUDACITY_PLAYBACK_PREFS__
14
15#include <wx/defs.h>
16
17#include "PrefsPanel.h"
18
19class ShuttleGui;
20
21#define PLAYBACK_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Playback") }
22
23class PlaybackPrefs final : public PrefsPanel
24{
25 public:
26 PlaybackPrefs(wxWindow * parent, wxWindowID winid);
27 virtual ~PlaybackPrefs();
28 ComponentInterfaceSymbol GetSymbol() const override;
29 TranslatableString GetDescription() const override;
30
31 bool Commit() override;
32 ManualPageID HelpPageName() override;
33 void PopulateOrExchange(ShuttleGui & S) override;
34
36
37 private:
38 void Populate();
39};
40
41#endif
#define S(N)
Definition: ToChars.cpp:64
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A PrefsPanel used to select playback options.
Definition: PlaybackPrefs.h:24
void PopulateOrExchange(ShuttleGui &S) override
ComponentInterfaceSymbol GetSymbol() const override
static bool GetUnpinnedScrubbingPreference()
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
TranslatableString GetDescription() const override
bool Commit() override
virtual ~PlaybackPrefs()
PlaybackPrefs(wxWindow *parent, wxWindowID winid)
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.