20#ifndef LIBREPCB_EDITOR_CMDSYMBOLINSTANCEADD_H
21#define LIBREPCB_EDITOR_CMDSYMBOLINSTANCEADD_H
26#include "../../undocommand.h"
37class ComponentInstance;
The SI_Symbol class.
Definition: si_symbol.h:54
The CmdSymbolInstanceAdd class.
Definition: cmdsymbolinstanceadd.h:50
void performRedo() override
Redo the command.
Definition: cmdsymbolinstanceadd.cpp:62
~CmdSymbolInstanceAdd() noexcept
Definition: cmdsymbolinstanceadd.cpp:46
void performUndo() override
Undo the command.
Definition: cmdsymbolinstanceadd.cpp:58
CmdSymbolInstanceAdd(SI_Symbol &symbol) noexcept
Definition: cmdsymbolinstanceadd.cpp:42
SI_Symbol & mSymbolInstance
Definition: cmdsymbolinstanceadd.h:67
bool performExecute() override
Execute the command the first time.
Definition: cmdsymbolinstanceadd.cpp:53
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77