Audacity 3.2.0
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 178 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}
static RegisteredToolbarFactory factory
void RegisterItem(GroupItem &registry, const Placement &placement, BaseItemPtr pItem)
Definition: Registry.cpp:750
static Registry::GroupItem & sRegistry()
Definition: Export.cpp:286

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: