Audacity  3.0.3
Functions
anonymous_namespace{NyqBench.cpp} Namespace Reference

Functions

CommandHandlerObjectfindme (AudacityProject &)
 
void RegisterMenuItems ()
 

Function Documentation

◆ findme()

CommandHandlerObject& anonymous_namespace{NyqBench.cpp}::findme ( AudacityProject )

Definition at line 99 of file NyqBench.cpp.

100 {
101  return *NyqBench::GetBench();
102 }

References NyqBench::GetBench().

Referenced by RegisterMenuItems().

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

◆ RegisterMenuItems()

void anonymous_namespace{NyqBench.cpp}::RegisterMenuItems ( )

Definition at line 104 of file NyqBench.cpp.

105 {
106  // Get here only after the module version check passes
107  using namespace MenuTable;
108  static AttachedItem sAttachment{ wxT("Tools"),
109  ( FinderScope( findme ), Section( wxT("NyquistWorkBench"),
110  Command( wxT("NyqBench"), XXO("&Nyquist Workbench..."),
113  ) )
114  };
115 }

References AudioIONotBusyFlag(), MenuTable::Command(), findme(), anonymous_namespace{Contrast.cpp}::sAttachment, MenuTable::Section(), NyqBench::ShowNyqBench(), and XXO.

Referenced by ModuleDispatch().

Here is the call graph for this function:
Here is the caller graph for this function:
MenuTable::FinderScope
Definition: CommandManager.h:485
NyqBench::GetBench
static NyqBench * GetBench()
Definition: NyqBench.cpp:639
anonymous_namespace{NyqBench.cpp}::findme
CommandHandlerObject & findme(AudacityProject &)
Definition: NyqBench.cpp:99
AudioIONotBusyFlag
const ReservedCommandFlag & AudioIONotBusyFlag()
Definition: CommonCommandFlags.cpp:128
MenuTable::AttachedItem
Definition: CommandManager.h:708
XXO
#define XXO(s)
Definition: Internat.h:44
anonymous_namespace{Contrast.cpp}::sAttachment
AttachedItem sAttachment
Definition: Contrast.cpp:697
NyqBench::ShowNyqBench
void ShowNyqBench(const CommandContext &)
Definition: NyqBench.cpp:1727
MenuTable::Command
std::unique_ptr< CommandItem > Command(const CommandID &name, const TranslatableString &label_in, void(Handler::*pmf)(const CommandContext &), CommandFlag flags, const CommandManager::Options &options={}, CommandHandlerFinder finder=FinderScope::DefaultFinder())
Definition: CommandManager.h:675
MenuTable::Section
std::unique_ptr< MenuPart > Section(const Identifier &internalName, Args &&... args)
Definition: CommandManager.h:611
MenuTable
Definition: CommandManager.h:416
CommandFunctorPointer
void(CommandHandlerObject::*)(const CommandContext &context) CommandFunctorPointer
Definition: CommandFunctors.h:38