50 return wxT(
"Fabmaster" );
72 if( aProgressReporter )
74 aProgressReporter->
Report( wxString::Format(
_(
"Loading %s..." ), aFileName ) );
84 readerr =
_(
"Could not read file " ) + aFileName.ToStdString();
Information pertinent to a Pcbnew printed circuit board.
void SetFileName(const wxString &aFileName)
BOARD * LoadBoard(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_FILE_DESC GetBoardFileDesc() const override
Returns board file description for the PLUGIN.
const wxString PluginName() const override
Return a brief hard coded name for this PLUGIN.
const STRING_UTF8_MAP * m_props
FABMASTER_PLUGIN()
Pcbnew PLUGIN for FABMASTER ASCII *.txt / *.fab format.
bool Read(const std::string &aFile)
bool LoadBoard(BOARD *aBoard, PROGRESS_REPORTER *aProgressReporter)
A progress reporter interface for use in multi-threaded environments.
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.
A name/value tuple with unique names and optional values.
Pcbnew PLUGIN for Fabmaster (Allegro) ASCII format.
#define THROW_IO_ERROR(msg)
This file contains miscellaneous commonly used macros and functions.
Container that describes file type info.