Audacity  2.2.2
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 <wx/window.h>
19 
20 #include "PrefsPanel.h"
21 
22 class ShuttleGui;
23 
24 class ImportExportPrefs final : public PrefsPanel
25 {
26  public:
27  ImportExportPrefs(wxWindow * parent, wxWindowID winid);
29  bool Commit() override;
30  wxString HelpPageName() override;
31  void PopulateOrExchange(ShuttleGui & S) override;
32 
33  private:
34  void Populate();
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
bool Commit() override
PrefsPanel * operator()(wxWindow *parent, wxWindowID winid) override
wxString HelpPageName() override
ImportExportPrefs(wxWindow *parent, wxWindowID winid)
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 used to select import and export options.
void PopulateOrExchange(ShuttleGui &S) override
void Populate()
Creates the dialog and its contents.