Audacity  2.2.0
LoadNyquist.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  LoadNyquist.h
6 
7  Dominic Mazzoni
8 
9 **********************************************************************/
10 
11 #include "audacity/ModuleInterface.h"
12 #include "audacity/EffectInterface.h"
13 #include "audacity/PluginInterface.h"
14 
16 //
17 // NyquistEffectsModule
18 //
20 
21 class NyquistEffectsModule final : public ModuleInterface
22 {
23 public:
24  NyquistEffectsModule(ModuleManagerInterface *moduleManager, const wxString *path);
25  virtual ~NyquistEffectsModule();
26 
27  // IdentInterface implementation
28 
29  wxString GetPath() override;
30  wxString GetSymbol() override;
31  wxString GetName() override;
32  wxString GetVendor() override;
33  wxString GetVersion() override;
34  wxString GetDescription() override;
35 
36  // ModuleInterface implementation
37 
38  bool Initialize() override;
39  void Terminate() override;
40 
41  bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
42  wxArrayString FindPlugins(PluginManagerInterface & pm) override;
43  bool RegisterPlugin(PluginManagerInterface & pm, const wxString & path) override;
44 
45  bool IsPluginValid(const wxString & path, bool bFast) override;
46 
47  IdentInterface *CreateInstance(const wxString & path) override;
48  void DeleteInstance(IdentInterface *instance) override;
49 
50  // NyquistEffectModule implementation
51 
52 private:
53  ModuleManagerInterface *mModMan;
54  wxString mPath;
55 };
wxString GetName() override
Definition: LoadNyquist.cpp:108
wxString mPath
Definition: LoadNyquist.h:54
void DeleteInstance(IdentInterface *instance) override
Definition: LoadNyquist.cpp:245
NyquistEffectsModule(ModuleManagerInterface *moduleManager, const wxString *path)
Definition: LoadNyquist.cpp:79
wxString GetVendor() override
Definition: LoadNyquist.cpp:113
wxString GetPath() override
Definition: LoadNyquist.cpp:98
IdentInterface * CreateInstance(const wxString &path) override
Definition: LoadNyquist.cpp:232
virtual ~NyquistEffectsModule()
Definition: LoadNyquist.cpp:89
wxString GetSymbol() override
Definition: LoadNyquist.cpp:103
ModuleManagerInterface * mModMan
Definition: LoadNyquist.h:53
Definition: LoadNyquist.h:21
wxArrayString FindPlugins(PluginManagerInterface &pm) override
Definition: LoadNyquist.cpp:191
wxString GetDescription() override
Definition: LoadNyquist.cpp:124
bool AutoRegisterPlugins(PluginManagerInterface &pm) override
Definition: LoadNyquist.cpp:162
bool IsPluginValid(const wxString &path, bool bFast) override
Definition: LoadNyquist.cpp:219
void Terminate() override
Definition: LoadNyquist.cpp:155
bool RegisterPlugin(PluginManagerInterface &pm, const wxString &path) override
Definition: LoadNyquist.cpp:207
bool Initialize() override
Definition: LoadNyquist.cpp:133
wxString GetVersion() override
Definition: LoadNyquist.cpp:118