Audacity 3.2.0
Public Member Functions | List of all members
MenuTable::AttachedItem Struct Referencefinal

#include <CommandManager.h>

Public Member Functions

 AttachedItem (const Placement &placement, BaseItemPtr pItem)
 AttachedItem (const wxString &path, BaseItemPtr pItem)

Detailed Description

Definition at line 772 of file CommandManager.h.

Constructor & Destructor Documentation

◆ AttachedItem() [1/2]

MenuTable::AttachedItem::AttachedItem ( const Placement placement,
BaseItemPtr  pItem 

Definition at line 259 of file Menus.cpp.

262 Registry::RegisterItem( sRegistry(), placement, std::move( pItem ) );
void RegisterItem(GroupItem &registry, const Placement &placement, BaseItemPtr pItem)
Definition: Registry.cpp:750
static Registry::GroupItem & sRegistry()
Definition: Menus.cpp:252

References Registry::RegisterItem(), and anonymous_namespace{Menus.cpp}::sRegistry().

Here is the call graph for this function:

◆ AttachedItem() [2/2]

MenuTable::AttachedItem::AttachedItem ( const wxString &  path,
BaseItemPtr  pItem 

Definition at line 776 of file CommandManager.h.

778 : AttachedItem( Placement{ path }, std::move( pItem ) )
779 {}
AttachedItem(const Placement &placement, BaseItemPtr pItem)
Definition: Menus.cpp:259

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