34#include <NDEVR/UUID.h>
35#include <NDEVR/Resource.h>
36#include <NDEVR/Pointer.h>
37#include <NDEVR/String.h>
38#include <NDEVR/Time.h>
39#include <NDEVR/ProgressInfo.h>
44 class DesignObjectLookup;
55 void setUndoRedoID(
UUID undo_redo_group);
56 UUID undoRedoID()
const;
64 bool has_executed =
false;
67 bool update_project_modified =
true;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignCommand.h:46
UUID id
Definition DesignCommand.h:63
virtual ~DesignCommand()
Definition DesignCommand.h:49
virtual TranslatedString name() const =0
virtual void execute(DesignObjectLookup *)
Definition DesignCommand.h:50
virtual bool isAsyncExecution() const
Definition DesignCommand.h:54
virtual String icon() const =0
UUID m_undo_redo_group
Definition DesignCommand.h:69
virtual bool canCombineWith(const DynamicPointer< DesignCommand > &command)
Definition DesignCommand.h:52
Buffer< UUID > targets
Definition DesignCommand.h:62
virtual bool canGroupWith(const DynamicPointer< DesignCommand > &)
Definition DesignCommand.h:51
Definition DesignObjectLookup.h:61
Definition Pointer.hpp:303
Definition ProgressInfo.hpp:43
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Definition TranslatedString.h:9
Definition BaseValues.hpp:272