Audacity  2.2.2
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, wxWindowID winid);
27  ~BatchPrefs();
28  bool Commit() override;
29  void PopulateOrExchange(ShuttleGui & S) override;
30 
31 private:
32  void Populate();
33 
34  DECLARE_EVENT_TABLE()
35 };
36 
38 {
39 public:
40  PrefsPanel *operator () (wxWindow *parent, wxWindowID winid) override;
41 };
42 #endif
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI...
Definition: ShuttleGui.h:409
void PopulateOrExchange(ShuttleGui &S) override
Defines the dialog and does data exchange with it.
Definition: BatchPrefs.cpp:54
BatchPrefs(wxWindow *parent, wxWindowID winid)
Constructor.
Definition: BatchPrefs.cpp:35
bool Commit() override
Send changed values back to Prefs, and update Audacity.
Definition: BatchPrefs.cpp:74
void Populate()
Creates the dialog and its contents.
Definition: BatchPrefs.cpp:42
PrefsPanel * operator()(wxWindow *parent, wxWindowID winid) override
Definition: BatchPrefs.cpp:86
Used within the PrefsDialog, classes derived from this class include AudioIOPrefs, BatchPrefs, DirectoriesPrefs, FileFormatPrefs, GUIPrefs, KeyConfigPrefs, MousePrefs, QualityPrefs, SpectrumPrefs and ThemePrefs.
Definition: PrefsPanel.h:45
A PrefsPanel that builds up a chain of effects in MacroCommands.
Definition: BatchPrefs.h:23