Audacity 3.2.0
ApplicationPrefs.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 ApplicationPrefs.h
6
7 Anton Gerasimov
8
9**********************************************************************/
10
11#ifndef __AUDACITY_APPLICATION_PREFS__
12#define __AUDACITY_APPLICATION_PREFS__
13
14#include <wx/defs.h>
15
16#include "PrefsPanel.h"
17#include "Prefs.h"
18
19class ShuttleGui;
20
21class ApplicationPrefs final : public PrefsPanel
22{
23 public:
24 ApplicationPrefs(wxWindow * parent, wxWindowID winid);
26 ComponentInterfaceSymbol GetSymbol() const override;
27 TranslatableString GetDescription() const override;
28
29 bool Commit() override;
30 ManualPageID HelpPageName() override;
31
32 private:
33 void Populate();
34 void PopulateOrExchange(ShuttleGui & S) override;
35};
36
37#endif
#define S(N)
Definition: ToChars.cpp:64
A PrefsPanel to enable/disable certain general application options like checking updates,...
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
void PopulateOrExchange(ShuttleGui &S) override
bool Commit() override
TranslatableString GetDescription() const override
ApplicationPrefs(wxWindow *parent, wxWindowID winid)
ComponentInterfaceSymbol GetSymbol() const override
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
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.