|
KiCad PCB EDA Suite
|
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) | |
Register a plugin.
Declare as a static variable in an anonymous namespace.
| aType | type of the plugin |
| aName | name of the file format |
| aCreateFunc | function that creates a new object for the plugin. |
Definition at line 147 of file pcb_io_mgr.h.
|
inline |
Definition at line 149 of file pcb_io_mgr.h.
References PCB_IO_MGR::PLUGIN_REGISTRY::Instance(), and PCB_IO_MGR::PLUGIN_REGISTRY::Register().