KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCB_IO_MGR::REGISTER_PLUGIN Struct Reference

Register a plugin. More...

#include <pcb_io_mgr.h>

Public Member Functions

 REGISTER_PLUGIN (PCB_FILE_T aType, const wxString &aName, std::function< PCB_IO *(void)> aCreateFunc)
 

Detailed Description

Register a plugin.

Declare as a static variable in an anonymous namespace.

Parameters
aTypetype of the plugin
aNamename of the file format
aCreateFuncfunction that creates a new object for the plugin.

Definition at line 146 of file pcb_io_mgr.h.

Constructor & Destructor Documentation

◆ REGISTER_PLUGIN()

PCB_IO_MGR::REGISTER_PLUGIN::REGISTER_PLUGIN ( PCB_FILE_T  aType,
const wxString &  aName,
std::function< PCB_IO *(void)>  aCreateFunc 
)
inline

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