20 #ifndef LIBREPCB_EDITOR_CMDDEVICEINSTANCEREMOVE_H 21 #define LIBREPCB_EDITOR_CMDDEVICEINSTANCEREMOVE_H 26 #include "../../undocommand.h" BI_Device & mDevice
Definition: cmddeviceinstanceremove.h:69
Definition: occmodel.cpp:77
The BI_Device class.
Definition: bi_device.h:57
bool performExecute() override
Execute the command the first time.
Definition: cmddeviceinstanceremove.cpp:53
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
The CmdDeviceInstanceRemove class.
Definition: cmddeviceinstanceremove.h:47
CmdDeviceInstanceRemove(BI_Device &dev) noexcept
Definition: cmddeviceinstanceremove.cpp:40
void performRedo() override
Redo the command.
Definition: cmddeviceinstanceremove.cpp:63
~CmdDeviceInstanceRemove() noexcept
Definition: cmddeviceinstanceremove.cpp:46
void performUndo() override
Undo the command.
Definition: cmddeviceinstanceremove.cpp:59
Board & mBoard
Definition: cmddeviceinstanceremove.h:68