KiCad PCB EDA Suite
|
Plugin class for import plugins that support remappable layers. More...
#include <plugin_common_layer_mapping.h>
Public Member Functions | |
virtual void | RegisterLayerMappingCallback (LAYER_MAPPING_HANDLER aLayerMappingHandler) |
Register a different handler to be called when mapping of input layers to KiCad layers occurs. More... | |
virtual | ~LAYER_REMAPPABLE_PLUGIN ()=default |
Protected Attributes | |
LAYER_MAPPING_HANDLER | m_layer_mapping_handler |
Callback to get layer mapping. More... | |
Plugin class for import plugins that support remappable layers.
Definition at line 61 of file plugin_common_layer_mapping.h.
|
virtualdefault |
|
inlinevirtual |
Register a different handler to be called when mapping of input layers to KiCad layers occurs.
The function is marked as virtual, so the plugins can implement extra logic (e.g., enable warnings or checks)
aLayerMappingHandler |
Reimplemented in CADSTAR_PCB_ARCHIVE_PLUGIN.
Definition at line 73 of file plugin_common_layer_mapping.h.
References m_layer_mapping_handler.
Referenced by CADSTAR_PCB_ARCHIVE_PLUGIN::CADSTAR_PCB_ARCHIVE_PLUGIN(), EAGLE_PLUGIN::EAGLE_PLUGIN(), PCB_EDIT_FRAME::OpenProjectFiles(), and CADSTAR_PCB_ARCHIVE_PLUGIN::RegisterLayerMappingCallback().
|
protected |
Callback to get layer mapping.
Definition at line 80 of file plugin_common_layer_mapping.h.
Referenced by CADSTAR_PCB_ARCHIVE_PLUGIN::ensureLoadedLibrary(), CADSTAR_PCB_ARCHIVE_PLUGIN::Load(), and RegisterLayerMappingCallback().