20#ifndef LIBREPCB_EDITOR_CMDBOARDREMOVE_H
21#define LIBREPCB_EDITOR_CMDBOARDREMOVE_H
26#include "../../undocommand.h"
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The Project class represents a whole (opened) project with all its content.
Definition: project.h:71
The CmdBoardRemove class.
Definition: cmdboardremove.h:47
void performRedo() override
Redo the command.
Definition: cmdboardremove.cpp:66
int mIndex
Definition: cmdboardremove.h:68
CmdBoardRemove(Board &board) noexcept
Definition: cmdboardremove.cpp:40
void performUndo() override
Undo the command.
Definition: cmdboardremove.cpp:62
Board & mBoard
Definition: cmdboardremove.h:67
~CmdBoardRemove() noexcept
Definition: cmdboardremove.cpp:47
Project & mProject
Definition: cmdboardremove.h:66
bool performExecute() override
Execute the command the first time.
Definition: cmdboardremove.cpp:54
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77