1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00
audacity/src/prefs/RecordingPrefs.h
Paul Licameli 8399effc45 Table-driven construction of Prefs dialog. A factory for each kind of panel...
... and maybe a future plug-in protocol to break compilation dependency on
all of the PrefsPanel subclasses.
2015-07-26 19:41:20 -04:00

41 lines
747 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
RecordingPrefs.h
Joshua Haberman
James Crook
**********************************************************************/
#ifndef __AUDACITY_RECORDING_PREFS__
#define __AUDACITY_RECORDING_PREFS__
#include <wx/defs.h>
#include <wx/window.h>
#include "PrefsPanel.h"
class ShuttleGui;
class RecordingPrefs :public PrefsPanel
{
public:
RecordingPrefs(wxWindow * parent);
virtual ~RecordingPrefs();
virtual bool Apply();
private:
void Populate();
void PopulateOrExchange(ShuttleGui & S);
};
class RecordingPrefsFactory : public PrefsPanelFactory
{
public:
virtual PrefsPanel *Create(wxWindow *parent);
};
#endif