mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
44 lines
915 B
C++
44 lines
915 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
WarningsPrefs.h
|
|
|
|
Brian Gunlogson
|
|
Joshua Haberman
|
|
James Crook
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_WARNINGS_PREFS__
|
|
#define __AUDACITY_WARNINGS_PREFS__
|
|
|
|
#include <wx/defs.h>
|
|
|
|
#include <wx/window.h>
|
|
|
|
#include "PrefsPanel.h"
|
|
|
|
class ShuttleGui;
|
|
|
|
class WarningsPrefs final : public PrefsPanel
|
|
{
|
|
public:
|
|
WarningsPrefs(wxWindow * parent, wxWindowID winid);
|
|
~WarningsPrefs();
|
|
bool Commit() override;
|
|
wxString HelpPageName() override;
|
|
|
|
private:
|
|
void Populate();
|
|
void PopulateOrExchange(ShuttleGui & S) override;
|
|
};
|
|
|
|
/// A PrefsPanelFactory that creates one WarningPrefs panel.
|
|
class WarningsPrefsFactory final : public PrefsPanelFactory
|
|
{
|
|
public:
|
|
PrefsPanel *operator () (wxWindow *parent, wxWindowID winid) override;
|
|
};
|
|
#endif
|