Audacity 3.2.0
Classes | Public Member Functions | Static Public Member Functions | List of all members
ImportExportPrefs::RegisteredControls Struct Reference

#include <ImportExportPrefs.h>

Inheritance diagram for ImportExportPrefs::RegisteredControls:
Collaboration diagram for ImportExportPrefs::RegisteredControls:


struct  Init

Public Member Functions

 RegisteredControls (const Identifier &id, Populator populator, const Registry::Placement &placement={ wxEmptyString, {} })
- Public Member Functions inherited from Registry::RegisteredItem< PopulatorItem >
 RegisteredItem (Ptr pItem, const Placement &placement={})

Static Public Member Functions

static bool Any ()

Detailed Description

To be statically constructed, it registers additions to the Import/Export preference page

Definition at line 36 of file ImportExportPrefs.h.

Constructor & Destructor Documentation

◆ RegisteredControls()

ImportExportPrefs::RegisteredControls::RegisteredControls ( const Identifier id,
Populator  populator,
const Registry::Placement placement = { wxEmptyString, {} } 

Definition at line 45 of file ImportExportPrefs.cpp.

49 std::make_unique<PopulatorItem>(id, move(populator)),
50 placement
51 }
Generates classes whose instances register items at construction.
Definition: Registry.h:388

Member Function Documentation

◆ Any()

bool ImportExportPrefs::RegisteredControls::Any ( )

Definition at line 54 of file ImportExportPrefs.cpp.

56 return !PopulatorItem::Registry().empty();
static Registry::GroupItem< Traits > & Registry()

References ImportExportPrefs::PopulatorItem::Registry().

Here is the call graph for this function:

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