Audacity 3.2.0
Functions
DEFINE_VERSION_CHECK Namespace Reference

Functions

void RegisterMenuItems ()
 

Function Documentation

◆ RegisterMenuItems()

void DEFINE_VERSION_CHECK::RegisterMenuItems ( )

Definition at line 74 of file ModNullCallback.cpp.

75{
76 // Get here only after the module version check passes
77 using namespace MenuRegistry;
78 // We add two new commands into the Analyze menu.
79 static AttachedItem sAttachment{ wxT("Analyze"),
80 ( FinderScope( ident ), Section( wxT("NullModule"),
81 Command(
82 _T("A New Command"), // internal name
83 XXO("1st Experimental Command..."), //displayed name
84 ModNullFN( OnFuncFirst ),
86 Command(
87 _T("Another New Command"),
88 XXO("2nd Experimental Command"),
89 ModNullFN( OnFuncSecond ),
91 ) )
92 };
93}
wxT("CloseDown"))
const ReservedCommandFlag & AudioIONotBusyFlag()
XXO("&Cut/Copy/Paste Toolbar")
#define ModNullFN(X)
static CommandHandlerObject & ident(AudacityProject &project)
Generates classes whose instances register items at construction.
Definition: Registry.h:388
constexpr auto Section
Definition: MenuRegistry.h:436
constexpr auto Command
Definition: MenuRegistry.h:456

References AudioIONotBusyFlag(), MenuRegistry::Command, ident(), ModNullFN, anonymous_namespace{AdornedRulerPanel.cpp}::sAttachment, MenuRegistry::Section, wxT(), and XXO().

Referenced by ModuleDispatch().

Here is the call graph for this function:
Here is the caller graph for this function: