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 
14 
16 //
17 // NyquistEffectsModule
18 //
20 
22 {
23 public:
24  NyquistEffectsModule(ModuleManagerInterface *moduleManager, const wxString *path);
25  virtual ~NyquistEffectsModule();
26 
27  // IdentInterface implementation
28 
29  wxString GetPath() override;
32  wxString GetVersion() override;
33  wxString GetDescription() override;
34 
35  // ModuleInterface implementation
36 
37  bool Initialize() override;
38  void Terminate() override;
39 
40  wxArrayString FileExtensions() override;
41  wxString InstallPath() override;
42 
43  bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
44  wxArrayString FindPluginPaths(PluginManagerInterface & pm) override;
45  unsigned DiscoverPluginsAtPath(
46  const wxString & path, wxString &errMsg,
47  const RegistrationCallback &callback)
48  override;
49 
50  bool IsPluginValid(const wxString & path, bool bFast) override;
51 
52  IdentInterface *CreateInstance(const wxString & path) override;
53  void DeleteInstance(IdentInterface *instance) override;
54 
55  // NyquistEffectModule implementation
56 
57 private:
59  wxString mPath;
60 };
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
IdentInterfaceSymbol GetVendor() override
wxString GetPath() override
Definition: LoadNyquist.cpp:99
IdentInterface * CreateInstance(const wxString &path) override
IdentInterfaceSymbol GetSymbol() override
virtual ~NyquistEffectsModule()
Definition: LoadNyquist.cpp:90
IdentInterfaceSymbol pairs a persistent string identifier used internally with an optional...
ModuleManagerInterface * mModMan
Definition: LoadNyquist.h:58
std::function< const PluginID &(ModuleInterface *, IdentInterface *) > RegistrationCallback
wxString GetDescription() override
bool AutoRegisterPlugins(PluginManagerInterface &pm) override
bool IsPluginValid(const wxString &path, bool bFast) override
IdentInterface provides name / vendor / version functions to identify plugins. It is what makes a cla...
void Terminate() override
bool Initialize() override
wxString GetVersion() override