38 virtual void undo()
const = 0;
47 virtual void redo()
const = 0;
57 virtual std::string
text() {
Undoable(const std::string &text)
Name of this operartion.
virtual std::string text()
Name of the operation.
: Abstract class for a Undoable operations All operations you wnt to beable to get place in the undo ...
virtual void redo() const =0
Redo a given operation.
DECLARE_SHORT_SHARED_PTR(Document)
virtual void undo() const =0
Undo a given operation.