20#ifndef LIBREPCB_EDITOR_CMDBOARDNETSEGMENTREMOVE_H
21#define LIBREPCB_EDITOR_CMDBOARDNETSEGMENTREMOVE_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 CmdBoardNetSegmentRemove class.
Definition cmdboardnetsegmentremove.h:47
void performRedo() override
Redo the command.
Definition cmdboardnetsegmentremove.cpp:64
~CmdBoardNetSegmentRemove() noexcept
Definition cmdboardnetsegmentremove.cpp:47
void performUndo() override
Undo the command.
Definition cmdboardnetsegmentremove.cpp:60
Board & mBoard
Definition cmdboardnetsegmentremove.h:67
BI_NetSegment & mNetSegment
Definition cmdboardnetsegmentremove.h:68
bool performExecute() override
Execute the command the first time.
Definition cmdboardnetsegmentremove.cpp:54
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76