1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00
Files
audacity/src/prefs/EffectsPrefs.h
Paul Licameli bf005c0dec PrefsPanel::Factory is a specialization of std::function...
... We don't need to define a class for it
2019-05-16 12:14:51 -04:00

43 lines
957 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
EffectsPrefs.h
Brian Gunlogson
Joshua Haberman
James Crook
**********************************************************************/
#ifndef __AUDACITY_EFFECTS_PREFS__
#define __AUDACITY_EFFECTS_PREFS__
#include <wx/defs.h>
#include "PrefsPanel.h"
class ShuttleGui;
#define EFFECTS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Effects") }
class EffectsPrefs final : public PrefsPanel
{
public:
EffectsPrefs(wxWindow * parent, wxWindowID winid);
~EffectsPrefs();
ComponentInterfaceSymbol GetSymbol() override;
wxString GetDescription() override;
bool Commit() override;
wxString HelpPageName() override;
void PopulateOrExchange(ShuttleGui & S) override;
private:
void Populate();
};
/// A PrefsPanel::Factory that creates one EffectsPrefs panel.
extern PrefsPanel::Factory EffectsPrefsFactory;
#endif