20#ifndef LIBREPCB_EDITOR_CMDSYMBOLINSTANCEREMOVE_H
21#define LIBREPCB_EDITOR_CMDSYMBOLINSTANCEREMOVE_H
26#include "../../undocommand.h"
The SI_Symbol class.
Definition: si_symbol.h:54
The Schematic class represents one schematic page of a project and is always part of a circuit.
Definition: schematic.h:74
The CmdSymbolInstanceRemove class.
Definition: cmdsymbolinstanceremove.h:47
void performRedo() override
Redo the command.
Definition: cmdsymbolinstanceremove.cpp:62
CmdSymbolInstanceRemove(Schematic &schematic, SI_Symbol &symbol) noexcept
Definition: cmdsymbolinstanceremove.cpp:40
Schematic & mSchematic
Definition: cmdsymbolinstanceremove.h:67
~CmdSymbolInstanceRemove() noexcept
Definition: cmdsymbolinstanceremove.cpp:45
void performUndo() override
Undo the command.
Definition: cmdsymbolinstanceremove.cpp:58
SI_Symbol & mSymbol
Definition: cmdsymbolinstanceremove.h:68
bool performExecute() override
Execute the command the first time.
Definition: cmdsymbolinstanceremove.cpp:52
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77