Audacity  2.2.2
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  wxArrayString FileExtensions() override;
42  wxString InstallPath() override;
43 
44  bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
45  wxArrayString FindPluginPaths(PluginManagerInterface & pm) override;
46  unsigned DiscoverPluginsAtPath(
47  const wxString & path, wxString &errMsg,
48  const RegistrationCallback &callback)
49  override;
50 
51  bool IsPluginValid(const wxString & path, bool bFast) override;
52 
53  IdentInterface *CreateInstance(const wxString & path) override;
54  void DeleteInstance(IdentInterface *instance) override;
55 
56  // NyquistEffectModule implementation
57 
58 private:
59  ModuleManagerInterface *mModMan;
60  wxString mPath;
61 };
wxString GetName() override
void DeleteInstance(IdentInterface *instance) override
wxString InstallPath() override
NyquistEffectsModule(ModuleManagerInterface *moduleManager, const wxString *path)
Definition: LoadNyquist.cpp:80
wxArrayString FindPluginPaths(PluginManagerInterface &pm) override
unsigned DiscoverPluginsAtPath(const wxString &path, wxString &errMsg, const RegistrationCallback &callback) override
wxArrayString FileExtensions() override
wxString GetVendor() override
wxString GetPath() override
Definition: LoadNyquist.cpp:99
IdentInterface * CreateInstance(const wxString &path) override
virtual ~NyquistEffectsModule()
Definition: LoadNyquist.cpp:90
wxString GetSymbol() override
ModuleManagerInterface * mModMan
Definition: LoadNyquist.h:59
wxString GetDescription() override
bool AutoRegisterPlugins(PluginManagerInterface &pm) override
bool IsPluginValid(const wxString &path, bool bFast) override
void Terminate() override
bool Initialize() override
wxString GetVersion() override