summaryrefslogtreecommitdiffstats
path: root/src/undo-stack-observer.h
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2007-03-29 23:02:20 +0000
committergustav_b <gustav_b@users.sourceforge.net>2007-03-29 23:02:20 +0000
commitc905425451f756e070a2f0991892d397ba84ed24 (patch)
tree7b662fbe00e02f1cf398a99cfaa8c90c333827c0 /src/undo-stack-observer.h
parentFix native path for iri (diff)
downloadinkscape-c905425451f756e070a2f0991892d397ba84ed24.tar.gz
inkscape-c905425451f756e070a2f0991892d397ba84ed24.zip
Notify UndoStackObservers on commited incomplete transactions and sp_document_{undo,redo}_clear,
see #1684042. (bzr r2780)
Diffstat (limited to 'src/undo-stack-observer.h')
-rw-r--r--src/undo-stack-observer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/undo-stack-observer.h b/src/undo-stack-observer.h
index dbda2b980..5bf405f7f 100644
--- a/src/undo-stack-observer.h
+++ b/src/undo-stack-observer.h
@@ -59,6 +59,17 @@ public:
* \param log Pointer to an Event describing the committed events.
*/
virtual void notifyUndoCommitEvent(Event* log) = 0;
+
+ /**
+ * Triggered when the undo log is cleared.
+ */
+ virtual void notifyClearUndoEvent() = 0;
+
+ /**
+ * Triggered when the redo log is cleared.
+ */
+ virtual void notifyClearRedoEvent() = 0;
+
};
}