11#ifndef __AUDACITY_EFFECT_NYQUIST__
12#define __AUDACITY_EFFECT_NYQUIST__
14#include "../StatefulEffectUIServices.h"
43 bool forceModal =
false)
override;
54 void
OnLoad(wxCommandEvent& evt);
55 void OnSave(wxCommandEvent& evt);
58 void OnText(wxCommandEvent& evt);
61 void OnTime(wxCommandEvent& evt);
75 void OnOk(wxCommandEvent & event);
std::function< DialogFactoryResults(wxWindow &parent, EffectBase &, EffectUIServices &, EffectSettingsAccess &) > EffectDialogFactory
Type of function that creates a dialog for an effect.
static Settings & settings()
Base class for many of the effects in Audacity.
Performs effect computation.
Use this object to copy the input tracks to tentative outputTracks.
Hold values to send to effect output meters.
An Effect that calls up a Nyquist (XLISP) plug-in, i.e. many possible effects from this one class.
NyquistBase(const wxString &fName)
wxWeakRef< wxWindow > mUIParent
wxTextCtrl * mCommandText
bool TransferDataFromPromptWindow()
bool TransferDataFromWindow(EffectSettings &settings) override
void BuildEffectWindow(ShuttleGui &S)
void OnLoad(wxCommandEvent &evt)
bool TransferDataFromEffectWindow()
void OnFileButton(wxCommandEvent &evt)
bool TransferDataToPromptWindow()
int ShowHostInterface(EffectBase &plugin, wxWindow &parent, const EffectDialogFactory &factory, std::shared_ptr< EffectInstance > &pInstance, EffectSettingsAccess &access, bool forceModal=false) override
bool TransferDataToEffectWindow()
std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) override
Add controls to effect panel; always succeeds.
bool TransferDataToWindow(const EffectSettings &settings) override
void OnSlider(wxCommandEvent &evt)
void OnSave(wxCommandEvent &evt)
void BuildPromptWindow(ShuttleGui &S)
void OnTime(wxCommandEvent &evt)
void OnDebug(wxCommandEvent &evt)
void OnChoice(wxCommandEvent &evt)
void OnText(wxCommandEvent &evt)
Dialog used with NyquistBase.
void OnOk(wxCommandEvent &event)
NyquistOutputDialog(const TranslatableString &title, const TranslatableString &message)
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
Externalized state of a plug-in.