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.
virtual TOOL_MANAGER * GetToolManager() const =0
virtual bool SaveBoard()=0
virtual bool SavePcbCopy(const wxString &aFileName, bool aCreateProject, bool aHeadless)=0
virtual bool CanAcceptApiCommands() const =0
virtual KIWAY * GetKiway() const =0
virtual BOARD * GetBoard() const =0
virtual ~BOARD_CONTEXT()=default
virtual PROJECT & Prj() const =0
virtual wxString GetCurrentFileName() const =0