20#ifndef LIBREPCB_EDITOR_CMDBOARDPLANEADD_H
21#define LIBREPCB_EDITOR_CMDBOARDPLANEADD_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 CmdBoardPlaneAdd class.
Definition cmdboardplaneadd.h:47
void performRedo() override
Redo the command.
Definition cmdboardplaneadd.cpp:62
BI_Plane & mPlane
Definition cmdboardplaneadd.h:67
CmdBoardPlaneAdd(const CmdBoardPlaneAdd &other)=delete
void performUndo() override
Undo the command.
Definition cmdboardplaneadd.cpp:58
Board & mBoard
Definition cmdboardplaneadd.h:66
CmdBoardPlaneAdd()=delete
~CmdBoardPlaneAdd() noexcept
Definition cmdboardplaneadd.cpp:46
bool performExecute() override
Execute the command the first time.
Definition cmdboardplaneadd.cpp:53
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76