20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTREMOVE_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTREMOVE_H
26#include "../../undocommand.h"
The SI_NetSegment class.
Definition: si_netsegment.h:53
The Schematic class represents one schematic page of a project and is always part of a circuit.
Definition: schematic.h:74
The CmdSchematicNetSegmentRemove class.
Definition: cmdschematicnetsegmentremove.h:47
void performRedo() override
Redo the command.
Definition: cmdschematicnetsegmentremove.cpp:64
Schematic & mSchematic
Definition: cmdschematicnetsegmentremove.h:67
~CmdSchematicNetSegmentRemove() noexcept
Definition: cmdschematicnetsegmentremove.cpp:47
CmdSchematicNetSegmentRemove(SI_NetSegment &segment) noexcept
Definition: cmdschematicnetsegmentremove.cpp:40
void performUndo() override
Undo the command.
Definition: cmdschematicnetsegmentremove.cpp:60
SI_NetSegment & mNetSegment
Definition: cmdschematicnetsegmentremove.h:68
bool performExecute() override
Execute the command the first time.
Definition: cmdschematicnetsegmentremove.cpp:54
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77