20#ifndef LIBREPCB_EDITOR_CMDBOARDZONEADD_H
21#define LIBREPCB_EDITOR_CMDBOARDZONEADD_H
26#include "../../undocommand.h"
The BI_Zone class.
Definition: bi_zone.h:46
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The CmdBoardZoneAdd class.
Definition: cmdboardzoneadd.h:47
void performRedo() override
Redo the command.
Definition: cmdboardzoneadd.cpp:60
~CmdBoardZoneAdd() noexcept
Definition: cmdboardzoneadd.cpp:44
void performUndo() override
Undo the command.
Definition: cmdboardzoneadd.cpp:56
Board & mBoard
Definition: cmdboardzoneadd.h:66
CmdBoardZoneAdd(const CmdBoardZoneAdd &other)=delete
bool performExecute() override
Execute the command the first time.
Definition: cmdboardzoneadd.cpp:51
BI_Zone & mZone
Definition: cmdboardzoneadd.h:67
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77