Audacity 3.2.0
Classes | Macros | Typedefs
ModuleInterface.h File Reference
#include <functional>
#include <memory>
#include "Identifier.h"
#include "ComponentInterface.h"
#include "ComponentInterfaceSymbol.h"
Include dependency graph for ModuleInterface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ModuleInterface
 

Macros

#define DECLARE_MODULE_ENTRY(name)   static ModuleInterface * name()
 
#define DECLARE_BUILTIN_MODULE_BASE(name)
 
#define DECLARE_BUILTIN_MODULE(name)
 

Typedefs

using PluginID = wxString
 
using PluginIDs = wxArrayString
 

Macro Definition Documentation

◆ DECLARE_BUILTIN_MODULE

#define DECLARE_BUILTIN_MODULE (   name)
Value:
void name::Register() \
{ \
RegisterProvider(AudacityModule); \
} \
void name::Unregister() \
{ \
UnregisterProvider(AudacityModule); \
}
const TranslatableString name
Definition: Distortion.cpp:98
#define DECLARE_BUILTIN_MODULE_BASE(name)

Definition at line 176 of file ModuleInterface.h.

◆ DECLARE_BUILTIN_MODULE_BASE

#define DECLARE_BUILTIN_MODULE_BASE (   name)
Value:
class name \
{ \
public: \
name() {Register();} \
~name() {Unregister();} \
void Register(); \
void Unregister(); \
}; \
static name name ## _instance;

Definition at line 161 of file ModuleInterface.h.

◆ DECLARE_MODULE_ENTRY

#define DECLARE_MODULE_ENTRY (   name)    static ModuleInterface * name()

Definition at line 147 of file ModuleInterface.h.

Typedef Documentation

◆ PluginID

using PluginID = wxString

Definition at line 51 of file ModuleInterface.h.

◆ PluginIDs

using PluginIDs = wxArrayString

Definition at line 52 of file ModuleInterface.h.