20#ifndef LIBREPCB_EDITOR_CMDCOMPSIGINSTSETNETSIGNAL_H
21#define LIBREPCB_EDITOR_CMDCOMPSIGINSTSETNETSIGNAL_H
26#include "../../undocommand.h"
35class ComponentSignalInstance;
The ComponentSignalInstance class.
Definition: componentsignalinstance.h:49
The NetSignal class.
Definition: netsignal.h:50
The CmdCompSigInstSetNetSignal class.
Definition: cmdcompsiginstsetnetsignal.h:47
void performRedo() override
Redo the command.
Definition: cmdcompsiginstsetnetsignal.cpp:64
NetSignal * mNetSignal
Definition: cmdcompsiginstsetnetsignal.h:70
void performUndo() override
Undo the command.
Definition: cmdcompsiginstsetnetsignal.cpp:60
CmdCompSigInstSetNetSignal(ComponentSignalInstance &cmpSigInstance, NetSignal *netsignal) noexcept
Definition: cmdcompsiginstsetnetsignal.cpp:39
~CmdCompSigInstSetNetSignal() noexcept
Definition: cmdcompsiginstsetnetsignal.cpp:47
NetSignal * mOldNetSignal
Definition: cmdcompsiginstsetnetsignal.h:73
ComponentSignalInstance & mComponentSignalInstance
Definition: cmdcompsiginstsetnetsignal.h:69
bool performExecute() override
Execute the command the first time.
Definition: cmdcompsiginstsetnetsignal.cpp:54
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77