20#ifndef LIBREPCB_EDITOR_CMDBOARDPLANEREMOVE_H
21#define LIBREPCB_EDITOR_CMDBOARDPLANEREMOVE_H
26#include "../../undocommand.h"
The BI_Plane class.
Definition: bi_plane.h:52
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The CmdBoardPlaneRemove class.
Definition: cmdboardplaneremove.h:47
void performRedo() override
Redo the command.
Definition: cmdboardplaneremove.cpp:63
BI_Plane & mPlane
Definition: cmdboardplaneremove.h:67
~CmdBoardPlaneRemove() noexcept
Definition: cmdboardplaneremove.cpp:46
CmdBoardPlaneRemove(BI_Plane &plane) noexcept
Definition: cmdboardplaneremove.cpp:40
void performUndo() override
Undo the command.
Definition: cmdboardplaneremove.cpp:59
Board & mBoard
Definition: cmdboardplaneremove.h:66
bool performExecute() override
Execute the command the first time.
Definition: cmdboardplaneremove.cpp:53
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77