20#ifndef LIBREPCB_EDITOR_CMDBOARDHOLEREMOVE_H
21#define LIBREPCB_EDITOR_CMDBOARDHOLEREMOVE_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 CmdBoardHoleRemove class.
Definition: cmdboardholeremove.h:47
void performRedo() override
Redo the command.
Definition: cmdboardholeremove.cpp:63
CmdBoardHoleRemove(BI_Hole &hole) noexcept
Definition: cmdboardholeremove.cpp:40
~CmdBoardHoleRemove() noexcept
Definition: cmdboardholeremove.cpp:46
void performUndo() override
Undo the command.
Definition: cmdboardholeremove.cpp:59
Board & mBoard
Definition: cmdboardholeremove.h:67
bool performExecute() override
Execute the command the first time.
Definition: cmdboardholeremove.cpp:53
BI_Hole & mHole
Definition: cmdboardholeremove.h:68
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77