Audacity  3.0.3
Public Member Functions | List of all members
Importer::RegisteredImportPlugin Struct Reference

#include <Import.h>

Public Member Functions

 RegisteredImportPlugin (const Identifier &id, std::unique_ptr< ImportPlugin >, const Registry::Placement &placement={ wxEmptyString, {} })
 

Detailed Description

Definition at line 85 of file Import.h.

Constructor & Destructor Documentation

◆ RegisteredImportPlugin()

Importer::RegisteredImportPlugin::RegisteredImportPlugin ( const Identifier id,
std::unique_ptr< ImportPlugin pPlugin,
const Registry::Placement placement = { wxEmptyString, {} } 
)

Definition at line 109 of file Import.cpp.

113 {
114  if ( pPlugin )
115  Registry::RegisterItem( sRegistry(), placement,
116  std::make_unique< ImporterItem >( id, std::move( pPlugin ) ) );
117 }

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