Audacity 3.2.0
BasicEffectUIServices.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file BasicEffectUIServices.h
6 @brief decorator of a Sink with a non-time-warping effect
7
8 Dominic Mazzoni
9 Vaughan Johnson
10
11 Paul Licameli split from Effect.h
12
13**********************************************************************/
14#ifndef __AUDACITY_BASIC_EFFECT_UI_SERVICES__
15#define __AUDACITY_BASIC_EFFECT_UI_SERVICES__
16
17#include "EffectUIServices.h"
18
21class AUDACITY_DLL_API BasicEffectUIServices
22 : public EffectUIServices
23{
24public:
25 int ShowClientInterface(const EffectPlugin &plugin, wxWindow &parent,
26 wxDialog &dialog, EffectEditor *pEditor, bool forceModal)
27 const override;
28 void ExportPresets(
29 const EffectPlugin &plugin, const EffectSettings &settings)
30 const override;
32 const EffectPlugin &plugin, EffectSettings &settings) const override;
33 void ShowOptions(const EffectPlugin &plugin) const override;
34 bool ValidateUI(const EffectPlugin &context, EffectSettings &)
35 const override;
36 bool CloseUI() const override;
37};
38#endif
std::optional< std::unique_ptr< EffectSettingsAccess::Message > > OptionalMessage
static Settings & settings()
Definition: TrackInfo.cpp:51
Factory of instances of an effect.
Definition: EffectPlugin.h:36
virtual void ShowOptions(const EffectPlugin &plugin) const =0
virtual bool ValidateUI(const EffectPlugin &context, EffectSettings &settings) const =0
virtual bool CloseUI() const =0
virtual OptionalMessage ImportPresets(const EffectPlugin &plugin, EffectSettings &settings) const =0
virtual void ExportPresets(const EffectPlugin &plugin, const EffectSettings &settings) const =0
virtual int ShowClientInterface(const EffectPlugin &plugin, wxWindow &parent, wxDialog &dialog, EffectEditor *pEditor, bool forceModal=false) const =0
Externalized state of a plug-in.