33 auto getShowEffectHostInterfaceCb =
35 Effect& effect, std::shared_ptr<EffectInstance>& pInstance,
40 pInstance, access,
true);
42 auto selectAllIfNoneCb = [&]() {
46 ID,
project, flags, std::move(getShowEffectHostInterfaceCb),
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
accessors for certain important windows associated with each project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Base class for many of the effects in Audacity.
virtual int ShowHostInterface(EffectBase &plugin, wxWindow &parent, const EffectDialogFactory &factory, std::shared_ptr< EffectInstance > &pInstance, EffectSettingsAccess &access, bool forceModal=false)
void Stop(bool stopStream=true)
static ProjectAudioManager & Get(AudacityProject &project)
Implementation of EffectSettings for cases where there is only one thread.
AUDACITY_APPLICATION_LOGIC_API bool DoEffect(const PluginID &ID, AudacityProject &project, unsigned flags, ShowEffectHostInterfaceCb, StopPlaybackCb, SelectAllIfNoneCb)
'Repeat Last Effect'.
std::function< void()> StopPlaybackCb
bool DoEffect(const PluginID &ID, AudacityProject &project, unsigned flags)
AUDACITY_DLL_API DialogFactoryResults DialogFactory(wxWindow &parent, EffectBase &host, EffectUIServices &client, EffectSettingsAccess &access)
void SelectAllIfNone(AudacityProject &project)
AudacityApplicationLogic::StopPlaybackCb StopPlaybackCb(AudacityProject &project)