From c905425451f756e070a2f0991892d397ba84ed24 Mon Sep 17 00:00:00 2001 From: gustav_b Date: Thu, 29 Mar 2007 23:02:20 +0000 Subject: Notify UndoStackObservers on commited incomplete transactions and sp_document_{undo,redo}_clear, see #1684042. (bzr r2780) --- src/undo-stack-observer.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/undo-stack-observer.h') 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; + }; } -- cgit v1.2.3