1 #line 1 "E:/jenkins/workspace/ufe-full-windows/ufe/include/undoableCommand.h" 2 #ifndef _undoableCommand 3 #define _undoableCommand 16 #include <initializer_list> 33 typedef std::shared_ptr<UndoableCommand>
Ptr;
40 virtual void execute();
42 virtual void undo() = 0;
43 virtual void redo() = 0;
68 static std::shared_ptr<CompositeUndoableCommand> create(
69 std::initializer_list<Ptr> undoableCommands
91 void append(
const Ptr& cmd);
std::shared_ptr< UndoableCommand > Ptr
Definition of macros for symbol visibility.
Composite undoable command.
Abstract base class for undoable commands.