/********************************************************************** Audacity: A Digital Audio Editor RecordingPrefs.h Joshua Haberman James Crook **********************************************************************/ #ifndef __AUDACITY_RECORDING_PREFS__ #define __AUDACITY_RECORDING_PREFS__ #include #include #include #include "PrefsPanel.h" class ShuttleGui; class RecordingPrefs final : public PrefsPanel { public: RecordingPrefs(wxWindow * parent); virtual ~RecordingPrefs(); bool Commit() override; wxString HelpPageName() override; private: void Populate(); void PopulateOrExchange(ShuttleGui & S); void OnToggleCustomName(wxCommandEvent & /* Evt */); wxTextCtrl *mToggleCustomName; bool mUseCustomTrackName; bool mOldNameChoice; DECLARE_EVENT_TABLE() }; class RecordingPrefsFactory final : public PrefsPanelFactory { public: PrefsPanel *Create(wxWindow *parent) override; }; #endif