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

Constructor & Destructor Documentation

◆ AttachedItem() [1/2]

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

Definition at line 261 of file Menus.cpp.

263{
264 Registry::RegisterItem( sRegistry(), placement, std::move( pItem ) );
265}
void RegisterItem(GroupItem &registry, const Placement &placement, BaseItemPtr pItem)
Definition: Registry.cpp:750
static Registry::GroupItem & sRegistry()
Definition: Menus.cpp:254

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 
)
inline

Definition at line 712 of file CommandManager.h.

714 : AttachedItem( Placement{ path }, std::move( pItem ) )
715 {}
AttachedItem(const Placement &placement, BaseItemPtr pItem)
Definition: Menus.cpp:261

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