Audacity 3.2.0
ImportExportPrefs.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 ImportExportPrefs.h
6
7 Joshua Haberman
8 Dominic Mazzoni
9 James Crook
10
11**********************************************************************/
12
13#ifndef __AUDACITY_IMPORT_EXPORT_PREFS__
14#define __AUDACITY_IMPORT_EXPORT_PREFS__
15
16#include <wx/defs.h>
17
18#include "PrefsPanel.h"
19
20class ShuttleGui;
21
22#define IMPORT_EXPORT_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("IMPORT EXPORT") }
23
24template< typename Enum > class EnumSetting;
25
26class AUDACITY_DLL_API ImportExportPrefs final : public PrefsPanel
27{
28 public:
32
33 ImportExportPrefs(wxWindow * parent, wxWindowID winid);
35 ComponentInterfaceSymbol GetSymbol() const override;
36 TranslatableString GetDescription() const override;
37
38 bool Commit() override;
39 ManualPageID HelpPageName() override;
40 void PopulateOrExchange(ShuttleGui & S) override;
41
42 private:
43 void Populate();
44};
45
46#endif
#define S(N)
Definition: ToChars.cpp:64
virtual ComponentInterfaceSymbol GetSymbol() const =0
virtual TranslatableString GetDescription() const =0
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Adapts EnumSettingBase to a particular enumeration type.
Definition: Prefs.h:507
A PrefsPanel used to select import and export options.
static EnumSetting< bool > LabelStyleSetting
static EnumSetting< bool > AllegroStyleSetting
static EnumSetting< bool > ExportDownMixSetting
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:91
virtual bool Commit()=0
virtual void PopulateOrExchange(ShuttleGui &WXUNUSED(S))
Definition: PrefsPanel.h:120
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:625
Holds a msgid for the translation catalog; may also bind format arguments.