20#ifndef LIBREPCB_EDITOR_CMDBOARDNETSEGMENTADD_H
21#define LIBREPCB_EDITOR_CMDBOARDNETSEGMENTADD_H
26#include "../../undocommand.h"
The BI_NetSegment class.
Definition bi_netsegment.h:52
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:73
The NetSignal class.
Definition netsignal.h:50
The CmdBoardNetSegmentAdd class.
Definition cmdboardnetsegmentadd.h:48
void performRedo() override
Redo the command.
Definition cmdboardnetsegmentadd.cpp:78
BI_NetSegment * mNetSegment
Definition cmdboardnetsegmentadd.h:74
BI_NetSegment * getNetSegment() const noexcept
Definition cmdboardnetsegmentadd.h:56
NetSignal * mNetSignal
Definition cmdboardnetsegmentadd.h:73
void performUndo() override
Undo the command.
Definition cmdboardnetsegmentadd.cpp:74
~CmdBoardNetSegmentAdd() noexcept
Definition cmdboardnetsegmentadd.cpp:55
Board & mBoard
Definition cmdboardnetsegmentadd.h:72
bool performExecute() override
Execute the command the first time.
Definition cmdboardnetsegmentadd.cpp:62
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76