Audacity 3.2.0
WarningsPrefs.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 WarningsPrefs.h
6
7 Brian Gunlogson
8 Joshua Haberman
9 James Crook
10
11**********************************************************************/
12
13#ifndef __AUDACITY_WARNINGS_PREFS__
14#define __AUDACITY_WARNINGS_PREFS__
15
16#include <wx/defs.h>
17
18#include "PrefsPanel.h"
19
20class ShuttleGui;
21
22#define WARNINGS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Warnings") }
23
24class WarningsPrefs final : public PrefsPanel
25{
26 public:
27 WarningsPrefs(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
40#endif
#define S(N)
Definition: ToChars.cpp:64
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.
A PrefsPanel to enable/disable certain warning messages.
Definition: WarningsPrefs.h:25
WarningsPrefs(wxWindow *parent, wxWindowID winid)
ComponentInterfaceSymbol GetSymbol() const override
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
void PopulateOrExchange(ShuttleGui &S) override
TranslatableString GetDescription() const override
bool Commit() override