32 #include <wx/string.h> 39 #include <compoundfilereader.h> 56 return wxT(
"Altium Designer" );
62 return wxT(
"PcbDoc" );
78 const std::map<ALTIUM_PCB_DIR, std::string> mapping = {
Container for project specific data.
const PROPERTIES * m_props
A name/value tuple with unique names and optional values.
~ALTIUM_DESIGNER_PLUGIN()
BOARD * Load(const wxString &aFileName, BOARD *aAppendToMe, const PROPERTIES *aProperties, PROJECT *aProject=nullptr) override
Load information from some input file format that this PLUGIN implementation knows about into either ...
const wxString GetFileExtension() const override
Returns the file extension for the PLUGIN.
void SetFileName(const wxString &aFileName)
const wxString PluginName() const override
Return a brief hard coded name for this PLUGIN.
Information pertinent to a Pcbnew printed circuit board.
void ParseAltiumPcb(BOARD *aBoard, const wxString &aFileName, const std::map< ALTIUM_PCB_DIR, std::string > &aFileMapping)
Helper method which opens a Altium Board File and parses it.