Audacity  2.2.2
Classes | Macros | Typedefs | Enumerations | Functions
ModuleManager.h File Reference
#include <wx/dynlib.h>
#include "MemoryX.h"
#include <map>
#include <vector>
#include "audacity/ModuleInterface.h"
#include "PluginManager.h"

Go to the source code of this file.

Classes

class  Module
 
struct  ModuleInterfaceDeleter
 
class  ModuleManager
 

Macros

#define ModuleDispatchName   "ModuleDispatch"
 

Typedefs

typedef int(* fnModuleDispatch )(ModuleDispatchTypes type)
 
using ModuleInterfaceHandle = movable_ptr_with_deleter< ModuleInterface, ModuleInterfaceDeleter >
 
typedef std::map< wxString,
ModuleMain * > 
ModuleMainMap
 
typedef std::map< wxString,
ModuleInterfaceHandle
ModuleMap
 
typedef std::map
< ModuleInterface
*, movable_ptr
< wxDynamicLibrary > > 
LibraryMap
 

Enumerations

enum  ModuleDispatchTypes {
  ModuleInitialize, ModuleTerminate, AppInitialized, AppQuiting,
  ProjectInitialized, ProjectClosing, MenusRebuilt
}
 

Functions

wxWindow * MakeHijackPanel ()
 

Macro Definition Documentation

#define ModuleDispatchName   "ModuleDispatch"

Definition at line 33 of file ModuleManager.h.

Referenced by Module::Load().

Typedef Documentation

typedef int(* fnModuleDispatch)(ModuleDispatchTypes type)

Definition at line 46 of file ModuleManager.h.

typedef std::map<ModuleInterface *, movable_ptr<wxDynamicLibrary> > LibraryMap

Definition at line 75 of file ModuleManager.h.

Definition at line 71 of file ModuleManager.h.

typedef std::map<wxString, ModuleMain *> ModuleMainMap

Definition at line 73 of file ModuleManager.h.

typedef std::map<wxString, ModuleInterfaceHandle> ModuleMap

Definition at line 74 of file ModuleManager.h.

Enumeration Type Documentation

Enumerator
ModuleInitialize 
ModuleTerminate 
AppInitialized 
AppQuiting 
ProjectInitialized 
ProjectClosing 
MenusRebuilt 

Definition at line 35 of file ModuleManager.h.

Function Documentation

wxWindow* MakeHijackPanel ( )

IF pPanelHijack has been found in a module DLL THEN when this function is called we'll go and create that window instead of the normal one.

Definition at line 80 of file ModuleManager.cpp.

References pPanelHijack.

Referenced by AudacityApp::OnInit().

81 {
82  if( pPanelHijack == NULL )
83  return NULL;
84  return pPanelHijack(0);
85 }
static tPanelFn pPanelHijack