MCPcopy Create free account
hub / github.com/audacity/audacity / ModuleDispatch

Function ModuleDispatch

modules/etc/mod-null/ModNullCallback.cpp:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96// This is the function that connects us to Audacity.
97extern int DLL_API ModuleDispatch(ModuleDispatchTypes type);
98int ModuleDispatch(ModuleDispatchTypes type)
99{
100 switch (type)
101 {
102 case ModuleInitialize:
103 RegisterMenuItems();
104 break;
105 case AppInitialized:
106 break;
107 case AppQuiting:
108 break;
109 default:
110 break;
111 }
112
113 return 1;
114}
115
116//Example code commented out.
117#if 0

Callers

nothing calls this directly

Calls 1

RegisterMenuItemsFunction · 0.70

Tested by

no test coverage detected