Audacity  3.0.3
Classes | Macros
ModuleInterface.h File Reference
#include <functional>
#include <memory>
#include "Identifier.h"
#include "ComponentInterface.h"
#include "PluginInterface.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)
 

Macro Definition Documentation

◆ DECLARE_BUILTIN_MODULE

#define DECLARE_BUILTIN_MODULE (   name)
Value:
void name::Register() \
{ \
RegisterProvider(AudacityModule); \
} \
void name::Unregister() \
{ \
UnregisterProvider(AudacityModule); \
}

Definition at line 171 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 156 of file ModuleInterface.h.

◆ DECLARE_MODULE_ENTRY

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

Definition at line 142 of file ModuleInterface.h.

DECLARE_BUILTIN_MODULE_BASE
#define DECLARE_BUILTIN_MODULE_BASE(name)
Definition: ModuleInterface.h:156
name
const TranslatableString name
Definition: Distortion.cpp:98