Audacity 3.2.0
Public Member Functions | Static Public Member Functions | List of all members
RegisteredMenuItemEnabler Struct Reference

#include <CommandFlag.h>

Public Member Functions

 RegisteredMenuItemEnabler (const MenuItemEnabler &enabler)
 

Static Public Member Functions

static const MenuItemEnablersEnablers ()
 

Detailed Description

Definition at line 125 of file CommandFlag.h.

Constructor & Destructor Documentation

◆ RegisteredMenuItemEnabler()

RegisteredMenuItemEnabler::RegisteredMenuItemEnabler ( const MenuItemEnabler enabler)

Definition at line 61 of file CommandFlag.cpp.

63{
64 sEnablers().emplace_back( enabler );
65}

References anonymous_namespace{CommandFlag.cpp}::sEnablers().

Here is the call graph for this function:

Member Function Documentation

◆ Enablers()

const MenuItemEnablers & RegisteredMenuItemEnabler::Enablers ( )
static

Definition at line 56 of file CommandFlag.cpp.

57{
58 return sEnablers();
59}

References anonymous_namespace{CommandFlag.cpp}::sEnablers().

Referenced by CommandManager::TryToMakeActionAllowed(), and CommandManager::UpdateMenus().

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

The documentation for this struct was generated from the following files: