20#ifndef LIBREPCB_EDITOR_CMDBUSADD_H
21#define LIBREPCB_EDITOR_CMDBUSADD_H
26#include "../../undocommand.h"
The Bus class.
Definition bus.h:50
The Circuit class represents all electrical connections in a project (drawn in the schematics)
Definition circuit.h:72
The CmdBusAdd class.
Definition cmdbusadd.h:47
void performRedo() override
Redo the command.
Definition cmdbusadd.cpp:72
Circuit & mCircuit
Definition cmdbusadd.h:71
Bus * mBus
Definition cmdbusadd.h:72
Bus * getBus() const noexcept
Definition cmdbusadd.h:55
void performUndo() override
Undo the command.
Definition cmdbusadd.cpp:68
bool performExecute() override
Execute the command the first time.
Definition cmdbusadd.cpp:55
~CmdBusAdd() noexcept
Definition cmdbusadd.cpp:48
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:77