20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTADD_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICNETSEGMENTADD_H
26#include "../../undocommand.h"
The NetSignal class.
Definition netsignal.h:50
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 CmdSchematicNetSegmentAdd class.
Definition cmdschematicnetsegmentadd.h:48
void performRedo() override
Redo the command.
Definition cmdschematicnetsegmentadd.cpp:79
Schematic & mSchematic
Definition cmdschematicnetsegmentadd.h:73
~CmdSchematicNetSegmentAdd() noexcept
Definition cmdschematicnetsegmentadd.cpp:56
SI_NetSegment * mNetSegment
Definition cmdschematicnetsegmentadd.h:75
SI_NetSegment * getNetSegment() const noexcept
Definition cmdschematicnetsegmentadd.h:57
void performUndo() override
Undo the command.
Definition cmdschematicnetsegmentadd.cpp:75
NetSignal & mNetSignal
Definition cmdschematicnetsegmentadd.h:74
bool performExecute() override
Execute the command the first time.
Definition cmdschematicnetsegmentadd.cpp:63
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76