14#ifndef __AUDACITY_EFFECT_EDITOR__
15#define __AUDACITY_EFFECT_EDITOR__
52 virtual bool UpdateUI();
58 virtual bool IsGraphicalUI();
64 virtual void Disconnect();
73 static bool EnableApply(wxWindow *parent,
bool enable =
true);
80 static bool EnablePreview(wxWindow *parent,
bool enable =
true);
84 template<
typename EventTag,
typename Class,
typename Event>
86 wxEvtHandler &src,
const EventTag& eventType,
void (Class::*pmf)(Event &))
88 src.Bind(eventType, pmf,
static_cast<Class *
>(
this));
94 bool mUIClosed {
false };
virtual bool ValidateUI()=0
Get settings data from the panel; may make error dialogs and return false.
const EffectUIServices & mUIServices
EffectSettingsAccess & mAccess
void BindTo(wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &))
An object that sends messages to an open-ended list of subscribed callbacks.
Message sent by EffectEditor when a setting is changed by the user.