2010-01-23 19:44:49 +00:00
|
|
|
/**********************************************************************
|
|
|
|
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
|
|
|
|
ImportExportPrefs.h
|
|
|
|
|
|
|
|
Joshua Haberman
|
|
|
|
Dominic Mazzoni
|
|
|
|
James Crook
|
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
|
|
|
#ifndef __AUDACITY_IMPORT_EXPORT_PREFS__
|
|
|
|
#define __AUDACITY_IMPORT_EXPORT_PREFS__
|
|
|
|
|
|
|
|
#include <wx/defs.h>
|
|
|
|
|
|
|
|
#include "PrefsPanel.h"
|
|
|
|
|
2015-06-18 14:24:36 +00:00
|
|
|
class ShuttleGui;
|
|
|
|
|
2019-04-15 12:01:24 +00:00
|
|
|
#define IMPORT_EXPORT_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("IMPORT EXPORT") }
|
|
|
|
|
2019-03-19 16:06:57 +00:00
|
|
|
template< typename Enum > class EnumSetting;
|
|
|
|
|
2020-09-28 12:50:18 +00:00
|
|
|
class AUDACITY_DLL_API ImportExportPrefs final : public PrefsPanel
|
2010-01-23 19:44:49 +00:00
|
|
|
{
|
|
|
|
public:
|
2019-03-19 16:06:57 +00:00
|
|
|
static EnumSetting< bool > ExportDownMixSetting;
|
2020-10-22 16:32:26 +00:00
|
|
|
static EnumSetting< bool > LabelStyleSetting;
|
2019-03-19 16:06:57 +00:00
|
|
|
static EnumSetting< bool > AllegroStyleSetting;
|
|
|
|
|
2017-10-28 00:35:52 +00:00
|
|
|
ImportExportPrefs(wxWindow * parent, wxWindowID winid);
|
2010-01-23 19:44:49 +00:00
|
|
|
~ImportExportPrefs();
|
2019-04-19 18:20:57 +00:00
|
|
|
ComponentInterfaceSymbol GetSymbol() override;
|
2019-12-08 18:53:48 +00:00
|
|
|
TranslatableString GetDescription() override;
|
2019-04-15 12:01:24 +00:00
|
|
|
|
2017-06-25 14:57:26 +00:00
|
|
|
bool Commit() override;
|
2017-05-14 15:19:54 +00:00
|
|
|
wxString HelpPageName() override;
|
2018-02-24 19:39:58 +00:00
|
|
|
void PopulateOrExchange(ShuttleGui & S) override;
|
2014-06-03 20:30:19 +00:00
|
|
|
|
2010-01-23 19:44:49 +00:00
|
|
|
private:
|
|
|
|
void Populate();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|