Audacity  3.0.3
Public Member Functions | List of all members
Exporter::RegisteredExportPlugin Struct Reference

#include <Export.h>

Public Member Functions

 RegisteredExportPlugin (const Identifier &id, const ExportPluginFactory &, const Registry::Placement &placement={ wxEmptyString, {} })
 

Detailed Description

Definition at line 177 of file Export.h.

Constructor & Destructor Documentation

◆ RegisteredExportPlugin()

Exporter::RegisteredExportPlugin::RegisteredExportPlugin ( const Identifier id,
const ExportPluginFactory factory,
const Registry::Placement placement = { wxEmptyString, {} } 
)

Definition at line 310 of file Export.cpp.

314 {
315  if ( factory )
316  Registry::RegisterItem( sRegistry(), placement,
317  std::make_unique< ExporterItem >( id, factory ) );
318 }

References factory, Registry::RegisterItem(), and anonymous_namespace{Export.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:806
anonymous_namespace{Export.cpp}::sRegistry
static Registry::GroupItem & sRegistry()
Definition: Export.cpp:286