27#ifndef CADSTAR_ARCHIVE_PLUGIN_H_
28#define CADSTAR_ARCHIVE_PLUGIN_H_
62 const std::vector<INPUT_LAYER_DESC>& aInputLayerDescriptionVector );
Information pertinent to a Pcbnew printed circuit board.
std::vector< FOOTPRINT * > GetImportedCachedLibraryFootprints() override
Return a container with the cached library footprints generated in the last call to Load.
long long GetLibraryTimestamp(const wxString &aLibraryPath) const override
Generate a timestamp representing all the files in the library (including the library directory).
const wxString GetFileExtension() const override
Returns the file extension for the PLUGIN.
CADSTAR_PCB_ARCHIVE_PLUGIN()
const wxString PluginName() const override
Return a brief hard coded name for this PLUGIN.
static std::map< wxString, PCB_LAYER_ID > DefaultLayerMappingCallback(const std::vector< INPUT_LAYER_DESC > &aInputLayerDescriptionVector)
Return the automapped layers.
void RegisterLayerMappingCallback(LAYER_MAPPING_HANDLER aLayerMappingHandler) override
Register a different handler to be called when mapping of Cadstar to KiCad layers occurs.
bool m_show_layer_mapping_warnings
~CADSTAR_PCB_ARCHIVE_PLUGIN()
const STRING_UTF8_MAP * m_props
std::vector< FOOTPRINT * > m_loaded_footprints
void clearLoadedFootprints()
BOARD * Load(const wxString &aFileName, BOARD *aAppendToMe, const STRING_UTF8_MAP *aProperties=nullptr, PROJECT *aProject=nullptr, PROGRESS_REPORTER *aProgressReporter=nullptr) override
Load information from some input file format that this PLUGIN implementation knows about into either ...
Plugin class for import plugins that support remappable layers.
A base class that BOARD loading and saving plugins should derive from.
A progress reporter interface for use in multi-threaded environments.
Container for project specific data.
A name/value tuple with unique names and optional values.
std::function< std::map< wxString, PCB_LAYER_ID >(const std::vector< INPUT_LAYER_DESC > &)> LAYER_MAPPING_HANDLER
Pointer to a function that takes a map of source and KiCad layers and returns a re-mapped version.