20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICREMOVE_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICREMOVE_H
26#include "../../undocommand.h"
The Project class represents a whole (opened) project with all its content.
Definition: project.h:71
The Schematic class represents one schematic page of a project and is always part of a circuit.
Definition: schematic.h:74
The CmdSchematicRemove class.
Definition: cmdschematicremove.h:47
void performRedo() override
Redo the command.
Definition: cmdschematicremove.cpp:67
Schematic & mSchematic
Definition: cmdschematicremove.h:68
void performUndo() override
Undo the command.
Definition: cmdschematicremove.cpp:63
int mPageIndex
Definition: cmdschematicremove.h:69
Project & mProject
Definition: cmdschematicremove.h:67
CmdSchematicRemove(Project &project, Schematic &schematic) noexcept
Definition: cmdschematicremove.cpp:40
~CmdSchematicRemove() noexcept
Definition: cmdschematicremove.cpp:48
bool performExecute() override
Execute the command the first time.
Definition: cmdschematicremove.cpp:55
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77