47 const std::map<std::string, UTF8>* aProperties,
PROJECT* aProject )
69 readerr =
_(
"Could not read file " ) + aFileName.ToStdString();
Information pertinent to a Pcbnew printed circuit board.
void SetFileName(const wxString &aFileName)
bool Read(const std::string &aFile)
bool LoadBoard(BOARD *aBoard, PROGRESS_REPORTER *aProgressReporter)
PROGRESS_REPORTER * m_progressReporter
Progress reporter to track the progress of the operation, may be nullptr.
PCB_IO_FABMASTER()
Pcbnew PLUGIN for FABMASTER ASCII *.txt / *.fab format.
BOARD * LoadBoard(const wxString &aFileName, BOARD *aAppendToMe, const std::map< std::string, UTF8 > *aProperties=nullptr, PROJECT *aProject=nullptr) override
Load information from some input file format that this PCB_IO implementation knows about into either ...
A base class that BOARD loading and saving plugins should derive from.
BOARD * m_board
The board BOARD being worked on, no ownership here.
const std::map< std::string, UTF8 > * m_props
Properties passed via Save() or Load(), no ownership, may be NULL.
virtual bool KeepRefreshing(bool aWait=false)=0
Update the UI (if any).
virtual void Report(const wxString &aMessage)=0
Display aMessage in the progress bar dialog.
Container for project specific data.
#define THROW_IO_ERROR(msg)
This file contains miscellaneous commonly used macros and functions.