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

#include <CommandManager.h>

Inheritance diagram for MenuTable::AttachedItem:
Collaboration diagram for MenuTable::AttachedItem:

Public Member Functions

 AttachedItem (const Placement &placement, BaseItemPtr pItem)
 AttachedItem (const wxString &path, BaseItemPtr pItem)
- Public Member Functions inherited from Registry::RegisteredItem< BaseItem, ItemRegistry >
 RegisteredItem (std::unique_ptr< BaseItem > pItem, const Placement &placement)

Detailed Description

Definition at line 694 of file CommandManager.h.

Constructor & Destructor Documentation

◆ AttachedItem() [1/2]

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

Definition at line 266 of file Menus.cpp.

268 : RegisteredItem{ std::move(pItem), placement }
Generates classes whose instances register items at construction.
Definition: Registry.h:287

◆ AttachedItem() [2/2]

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

Definition at line 699 of file CommandManager.h.

701 : AttachedItem( Placement{ path }, std::move( pItem ) )
702 {}
AttachedItem(const Placement &placement, BaseItemPtr pItem)
Definition: Menus.cpp:266

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