25#ifndef ALTIUM_DESIGNER_PLUGIN_H_
26#define ALTIUM_DESIGNER_PLUGIN_H_
40 const wxString
PluginName()
const override {
return wxT(
"Altium Designer" ); }
52 bool CanReadBoard(
const wxString& aFileName )
const override;
62 bool aBestEfforts,
const STRING_UTF8_MAP* aProperties =
nullptr )
override;
65 bool aKeepUUID =
false,
83 std::map<wxString, std::unique_ptr<ALTIUM_COMPOUND_FILE>>
m_fplibFiles;
const wxString PluginName() const override
Return a brief hard coded name for this PLUGIN.
~ALTIUM_DESIGNER_PLUGIN()
std::map< wxString, std::unique_ptr< ALTIUM_COMPOUND_FILE > > m_fplibFiles
PLUGIN_FILE_DESC GetBoardFileDesc() const override
Returns board file description for the PLUGIN.
FOOTPRINT * FootprintLoad(const wxString &aLibraryPath, const wxString &aFootprintName, bool aKeepUUID=false, const STRING_UTF8_MAP *aProperties=nullptr) override
Load a footprint having aFootprintName from the aLibraryPath containing a library format that this PL...
static bool checkFileHeader(const wxString &aFileName)
bool CanReadBoard(const wxString &aFileName) const override
Checks if this PLUGIN can read the specified board file.
bool CanReadFootprintLib(const wxString &aFileName) const override
Checks if this PLUGIN can read footprint library from specified file or directory.
bool IsFootprintLibWritable(const wxString &aLibraryPath) override
Return true if the library at aLibraryPath is writable.
BOARD * LoadBoard(const wxString &aFileName, BOARD *aAppendToMe, const STRING_UTF8_MAP *aProperties, PROJECT *aProject=nullptr, PROGRESS_REPORTER *aProgressReporter=nullptr) override
Load information from some input file format that this PLUGIN implementation knows about into either ...
void FootprintEnumerate(wxArrayString &aFootprintNames, const wxString &aLibraryPath, bool aBestEfforts, const STRING_UTF8_MAP *aProperties=nullptr) override
Return a list of footprint names contained within the library at aLibraryPath.
PLUGIN_FILE_DESC GetFootprintLibDesc() const override
Returns footprint library description for the PLUGIN.
const STRING_UTF8_MAP * m_props
long long GetLibraryTimestamp(const wxString &aLibraryPath) const override
Generate a timestamp representing all the files in the library (including the library directory).
Information pertinent to a Pcbnew printed circuit board.
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.
Container that describes file type info.