1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00
audacity/src/prefs/WarningsPrefs.h
2018-11-03 13:18:26 +00:00

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