21#ifndef KICAD_HEADLESS_PCB_CONTEXT_H
22#define KICAD_HEADLESS_PCB_CONTEXT_H
59 bool SavePcbCopy(
const wxString& aFileName,
bool aCreateProject,
bool aHeadless )
override;
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
Update the BOARD with a new netlist.
Information pertinent to a Pcbnew printed circuit board.
BOARD * GetBoard() const override
KIWAY * GetKiway() const override
bool CanAcceptApiCommands() const override
bool SavePcbCopy(const wxString &aFileName, bool aCreateProject, bool aHeadless) override
void OnNetlistChanged(BOARD_NETLIST_UPDATER &aUpdater) override
Post-import board sync (nets, classes, DRC, ratsnest, new footprint placement).
PROJECT & Prj() const override
TOOL_MANAGER * GetToolManager() const override
std::unique_ptr< TOOL_MANAGER > m_toolManager
bool SaveBoard() override
~HEADLESS_PCB_CONTEXT() override
HEADLESS_PCB_CONTEXT(std::unique_ptr< BOARD > aBoard, PROJECT *aProject, APP_SETTINGS_BASE *aSettings, KIWAY *aKiway=nullptr)
std::unique_ptr< BOARD > m_board
std::unique_ptr< BOARD_NETLIST_UPDATER > MakeNetlistUpdater() override
Create a netlist updater bound to this context's board.
bool ReadNetlistFromFile(const wxString &aFilename, NETLIST &aNetlist, REPORTER &aReporter) override
Read a netlist file and preload component footprints.
wxString GetCurrentFileName() const override
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
PCB-editor-specific context; extends BOARD_CONTEXT with save/filename operations.
Container for project specific data.
A pure virtual class used to derive REPORTER objects from.