20#ifndef LIBREPCB_EDITOR_CMDNETCLASSREMOVE_H
21#define LIBREPCB_EDITOR_CMDNETCLASSREMOVE_H
26#include "../../undocommand.h"
The NetClass class.
Definition: netclass.h:46
The CmdNetClassRemove class.
Definition: cmdnetclassremove.h:46
void performRedo() override
Redo the command.
Definition: cmdnetclassremove.cpp:61
NetClass & mNetClass
Definition: cmdnetclassremove.h:65
void performUndo() override
Undo the command.
Definition: cmdnetclassremove.cpp:57
CmdNetClassRemove(NetClass &netclass) noexcept
Definition: cmdnetclassremove.cpp:40
~CmdNetClassRemove() noexcept
Definition: cmdnetclassremove.cpp:44
bool performExecute() override
Execute the command the first time.
Definition: cmdnetclassremove.cpp:51
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77