KiCad PCB EDA Suite
|
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) | |
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. |
|
inline |
Definition at line 145 of file io_mgr.h.
References IO_MGR::PLUGIN_REGISTRY::Instance(), and IO_MGR::PLUGIN_REGISTRY::Register().