Audacity  3.0.3
Public Member Functions | List of all members
PrefsPanel::Registration Struct Referencefinal

#include <PrefsPanel.h>

Public Member Functions

 Registration (const wxString &name, const Factory &factory, bool expanded=true, const Registry::Placement &placement={ wxEmptyString, {} })
 

Detailed Description

Definition at line 83 of file PrefsPanel.h.

Constructor & Destructor Documentation

◆ Registration()

PrefsPanel::Registration::Registration ( const wxString &  name,
const Factory factory,
bool  expanded = true,
const Registry::Placement placement = { wxEmptyString, {} } 
)

Definition at line 77 of file PrefsPanel.cpp.

80 {
81  Registry::RegisterItem( sRegistry(), placement,
82  std::make_unique< PrefsItem >( name, factory, expanded ) );
83 }

References factory, name, Registry::RegisterItem(), and anonymous_namespace{PrefsPanel.cpp}::sRegistry().

Here is the call graph for this function:

The documentation for this struct was generated from the following files:
Registry::RegisterItem
void RegisterItem(GroupItem &registry, const Placement &placement, BaseItemPtr pItem)
Definition: Registry.cpp:750
factory
static RegisteredToolbarFactory factory
Definition: ControlToolBar.cpp:820
name
const TranslatableString name
Definition: Distortion.cpp:98
anonymous_namespace{PrefsPanel.cpp}::sRegistry
static Registry::GroupItem & sRegistry()
Definition: PrefsPanel.cpp:17