Audacity  2.2.0
BatchPrefs.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  BatchPrefs.h
6 
7  Dominic Mazzoni
8  James Crook
9 
10 **********************************************************************/
11 
12 #ifndef __AUDACITY_BATCH_PREFS__
13 #define __AUDACITY_BATCH_PREFS__
14 
15 #include <wx/defs.h>
16 
17 #include <wx/window.h>
18 
19 #include "PrefsPanel.h"
20 
21 class ShuttleGui;
22 
23 class BatchPrefs final : public PrefsPanel
24 {
25 public:
26  BatchPrefs(wxWindow * parent);
27  ~BatchPrefs();
28  bool Commit() override;
29 
30 private:
31  void Populate();
33 
34  DECLARE_EVENT_TABLE()
35 };
36 
38 {
39 public:
40  PrefsPanel *Create(wxWindow *parent) override;
41 };
42 #endif
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI...
Definition: ShuttleGui.h:369
BatchPrefs(wxWindow *parent)
Constructor.
Definition: BatchPrefs.cpp:36
~BatchPrefs()
Definition: BatchPrefs.cpp:81
bool Commit() override
Send changed values back to Prefs, and update Audacity.
Definition: BatchPrefs.cpp:73
void PopulateOrExchange(ShuttleGui &S)
Defines the dialog and does data exchange with it.
Definition: BatchPrefs.cpp:55
void Populate()
Creates the dialog and its contents.
Definition: BatchPrefs.cpp:43
Definition: BatchPrefs.h:37
Used within the PrefsDialog, classes derived from this class include AudioIOPrefs, BatchPrefs, DirectoriesPrefs, FileFormatPrefs, GUIPrefs, KeyConfigPrefs, MousePrefs, QualityPrefs, SpectrumPrefs and ThemePrefs.
Definition: PrefsPanel.h:43
Definition: PrefsPanel.h:70
PrefsPanel * Create(wxWindow *parent) override
Definition: BatchPrefs.cpp:85
A PrefsPanel that builds up a chain of effects in BatchCommands.
Definition: BatchPrefs.h:23