mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 00:21:16 +02:00
This allows duplicate items in the effects menus and provides a means to uniquely identify each item.
56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
LoadNyquist.h
|
|
|
|
Dominic Mazzoni
|
|
|
|
**********************************************************************/
|
|
|
|
#include "audacity/ModuleInterface.h"
|
|
#include "audacity/EffectInterface.h"
|
|
#include "audacity/PluginInterface.h"
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// NyquistEffectsModule
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class NyquistEffectsModule : public ModuleInterface
|
|
{
|
|
public:
|
|
NyquistEffectsModule(ModuleManagerInterface *moduleManager, const wxString *path);
|
|
virtual ~NyquistEffectsModule();
|
|
|
|
// IdentInterface implementatino
|
|
|
|
virtual wxString GetPath();
|
|
virtual wxString GetSymbol();
|
|
virtual wxString GetName();
|
|
virtual wxString GetVendor();
|
|
virtual wxString GetVersion();
|
|
virtual wxString GetDescription();
|
|
|
|
// ModuleInterface implementation
|
|
|
|
virtual bool Initialize();
|
|
virtual void Terminate();
|
|
|
|
virtual bool AutoRegisterPlugins(PluginManagerInterface & pm);
|
|
virtual wxArrayString FindPlugins(PluginManagerInterface & pm);
|
|
virtual bool RegisterPlugin(PluginManagerInterface & pm, const wxString & path);
|
|
|
|
virtual bool IsPluginValid(const wxString & path);
|
|
|
|
virtual IdentInterface *CreateInstance(const wxString & path);
|
|
virtual void DeleteInstance(IdentInterface *instance);
|
|
|
|
// NyquistEffectModule implementation
|
|
|
|
private:
|
|
ModuleManagerInterface *mModMan;
|
|
wxString mPath;
|
|
};
|