Audacity  3.0.3
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 707 of file CommandManager.h.

Constructor & Destructor Documentation

◆ AttachedItem() [1/2]

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

Definition at line 265 of file Menus.cpp.

267 {
268  Registry::RegisterItem( sRegistry(), placement, std::move( pItem ) );
269 }

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 711 of file CommandManager.h.

713  : AttachedItem( Placement{ path }, std::move( pItem ) )
714  {}

The documentation for this struct was generated from the following files:
void RegisterItem(GroupItem &registry, const Placement &placement, BaseItemPtr pItem)
Definition: Registry.cpp:750
Definition: Registry.h:219
AttachedItem(const Placement &placement, BaseItemPtr pItem)
Definition: Menus.cpp:265
static Registry::GroupItem & sRegistry()
Definition: Menus.cpp:258