20#ifndef LIBREPCB_EDITOR_CMDBOARDHOLEADD_H
21#define LIBREPCB_EDITOR_CMDBOARDHOLEADD_H
26#include "../../undocommand.h"
The BI_Hole class.
Definition bi_hole.h:46
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:73
The CmdBoardHoleAdd class.
Definition cmdboardholeadd.h:47
void performRedo() override
Redo the command.
Definition cmdboardholeadd.cpp:63
void performUndo() override
Undo the command.
Definition cmdboardholeadd.cpp:59
Board & mBoard
Definition cmdboardholeadd.h:69
~CmdBoardHoleAdd() noexcept
Definition cmdboardholeadd.cpp:46
BI_Hole * mHole
Definition cmdboardholeadd.h:70
bool performExecute() override
Execute the command the first time.
Definition cmdboardholeadd.cpp:53
BI_Hole * getHole() const noexcept
Definition cmdboardholeadd.h:54
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76