39#include <wx/filename.h>
40#include <wx/xml/xml.h>
59 return wxT(
"P-Cad" );
88 pcb.
ParseBoard(
nullptr, &xmlDoc, wxT(
"PCB" ) );
Information pertinent to a Pcbnew printed circuit board.
void SetFileName(const wxString &aFileName)
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
void ParseBoard(wxStatusBar *aStatusBar, wxXmlDocument *aXmlDoc, const wxString &aActualConversion)
void AddToBoard() override
const wxString GetFileExtension() const override
Returns the file extension for the PLUGIN.
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 ...
const STRING_UTF8_MAP * m_props
const wxString PluginName() const override
Return a brief hard coded name for this PLUGIN.
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.
void LoadInputFile(const wxString &aFileName, wxXmlDocument *aXmlDoc)
Pcbnew PLUGIN for Altium *.PcbDoc format.