Audacity  3.0.3
Classes | Namespaces | Macros | Functions | Variables
ModNullCallback.cpp File Reference
#include <wx/wx.h>
#include "ModNullCallback.h"
#include "ModuleConstants.h"
#include "ShuttleGui.h"
#include "Project.h"
#include "commands/CommandManager.h"
#include "CommonCommandFlags.h"
Include dependency graph for ModNullCallback.cpp:

Go to the source code of this file.

Classes

class  ModNullCallback
 ModNullCallback is a class containing all the callback functions for this demonstartion module. These functions are added into the standard Audacity Project Menus. More...
 

Namespaces

 DEFINE_VERSION_CHECK
 

Macros

#define ModNullFN(X)   static_cast<CommandFunctorPointer>((&ModNullCallback:: X))
 

Functions

static CommandHandlerObjectident (AudacityProject &project)
 
void DEFINE_VERSION_CHECK::RegisterMenuItems ()
 
int DLL_API ModuleDispatch (ModuleDispatchTypes type)
 

Variables

ModNullCallbackpModNullCallback =NULL
 

Macro Definition Documentation

◆ ModNullFN

#define ModNullFN (   X)    static_cast<CommandFunctorPointer>((&ModNullCallback:: X))

Definition at line 61 of file ModNullCallback.cpp.

Function Documentation

◆ ident()

static CommandHandlerObject& ident ( AudacityProject project)
static

Definition at line 65 of file ModNullCallback.cpp.

66 {
67 // no specific command handler object ... use the project.
68 return project;
69 }

Referenced by anonymous_namespace{Track.cpp}::Accumulate(), PluginManager::CreatePlugin(), PluginManager::DropFile(), EffectManager::GetEffect(), Effect::ImportPresets(), and DEFINE_VERSION_CHECK::RegisterMenuItems().

Here is the caller graph for this function:

◆ ModuleDispatch()

int ModuleDispatch ( ModuleDispatchTypes  type)

Definition at line 98 of file ModNullCallback.cpp.

99 {
100  switch (type)
101  {
102  case ModuleInitialize:
104  break;
105  case AppInitialized:
106  break;
107  case AppQuiting:
108  break;
109  default:
110  break;
111  }
112 
113  return 1;
114 }

References AppInitialized, AppQuiting, ModuleInitialize, and DEFINE_VERSION_CHECK::RegisterMenuItems().

Here is the call graph for this function:

Variable Documentation

◆ pModNullCallback

ModNullCallback* pModNullCallback =NULL

Definition at line 59 of file ModNullCallback.cpp.

AppQuiting
@ AppQuiting
Definition: ModuleConstants.h:31
AppInitialized
@ AppInitialized
Definition: ModuleConstants.h:30
DEFINE_VERSION_CHECK::RegisterMenuItems
void RegisterMenuItems()
Definition: ModNullCallback.cpp:74
ModuleInitialize
@ ModuleInitialize
Definition: ModuleConstants.h:28