std::shared_ptr< BOARD_CONTEXT > CreatePcbFrameContext(PCB_EDIT_FRAME *aFrame)
An interface for the frame surface that the API handlers need; to enable headless mode.
TOOL_MANAGER * GetToolManager() const override
bool SavePcbCopy(const wxString &aFileName, bool aCreateProject, bool aHeadless) override
wxString GetCurrentFileName() const override
bool SaveBoard() override
PROJECT & Prj() const override
bool CanAcceptApiCommands() const override
PCB_EDIT_FRAME_CONTEXT(PCB_EDIT_FRAME *aFrame)
KIWAY * GetKiway() const override
BOARD * GetBoard() const override