64 bool AnythingToUndo();
65 bool AnythingToRedo();
66 void InvalidateRedo();
67 void InvalidateUndo();
69 bool InUndoableAction() {
return isInsideUndoableAction; }
72 bool UndoLastAction();
73 bool RedoNextAction();
74 bool BeforeUndoableAction(UndoType type, UndoItemPointer before,
75 UndoBeforePointerType beforeType,
76 UndoItemPointer selectable);
77 bool AfterUndoableAction(UndoItemPointer after);
78 bool CancelUndoableAction(
bool noDataDelete =
false);
83 bool isInsideUndoableAction;
85 unsigned int stackpointer;
86 unsigned int depthSetting;
87 std::deque<UndoAction*> undoStack;