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

Register a plugin. More...

#include <io_mgr.h>

Public Member Functions

 REGISTER_PLUGIN (PCB_FILE_T aType, const wxString &aName, std::function< PLUGIN *(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 143 of file io_mgr.h.

Constructor & Destructor Documentation

◆ REGISTER_PLUGIN()

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

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