21#ifndef PCB_DESIGN_BLOCK_CONTROL_H
22#define PCB_DESIGN_BLOCK_CONTROL_H
DESIGN_BLOCK_CONTROL(const std::string &aName)
int SaveSelectionAsDesignBlock(const TOOL_EVENT &aEvent)
DESIGN_BLOCK_PANE * getDesignBlockPane() override
virtual ~PCB_DESIGN_BLOCK_CONTROL()
bool Init() override
Init() is called once upon a registration of the tool.
PCB_EDIT_FRAME * m_editFrame
int SaveBoardAsDesignBlock(const TOOL_EVENT &aEvent)
PCB_DESIGN_BLOCK_CONTROL()
void setTransitions() override
Set up handlers for various events.
int UpdateDesignBlockFromSelection(const TOOL_EVENT &aEvent)
int UpdateDesignBlockFromBoard(const TOOL_EVENT &aEvent)
The main frame for Pcbnew.