summaryrefslogtreecommitdiffstats
path: root/src/undo-stack-observer.h
diff options
context:
space:
mode:
authorDavid Yip <yipdw@alumni.rose-hulman.edu>2006-06-29 21:17:13 +0000
committerdwyip <dwyip@users.sourceforge.net>2006-06-29 21:17:13 +0000
commit2445d0e4104836bbdd5a32176aa2dabbbdc761c0 (patch)
tree203b5ca1e8c96ef84f94b0442ec4f6554a1aa81a /src/undo-stack-observer.h
parentpatch from Gustav Broberg: undo annotations and history dialog (diff)
downloadinkscape-2445d0e4104836bbdd5a32176aa2dabbbdc761c0.tar.gz
inkscape-2445d0e4104836bbdd5a32176aa2dabbbdc761c0.zip
made parameters and forward declarations point back to XML::Event
(bzr r1316)
Diffstat (limited to 'src/undo-stack-observer.h')
-rw-r--r--src/undo-stack-observer.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/undo-stack-observer.h b/src/undo-stack-observer.h
index cd17c4675..f88c63e62 100644
--- a/src/undo-stack-observer.h
+++ b/src/undo-stack-observer.h
@@ -16,8 +16,12 @@
namespace Inkscape {
+namespace XML {
+
class Event;
+}
+
/**
* Observes changes made to the undo and redo stacks.
*
@@ -42,21 +46,21 @@ public:
*
* \param log Pointer to an Event describing the undone event.
*/
- virtual void notifyUndoEvent(Event* log) = 0;
+ virtual void notifyUndoEvent(XML::Event* log) = 0;
/**
* Triggered when the user issues a redo command.
*
* \param log Pointer to an Event describing the redone event.
*/
- virtual void notifyRedoEvent(Event* log) = 0;
+ virtual void notifyRedoEvent(XML::Event* log) = 0;
/**
* Triggered when a set of transactions is committed to the undo log.
*
* \param log Pointer to an Event describing the committed events.
*/
- virtual void notifyUndoCommitEvent(Event* log) = 0;
+ virtual void notifyUndoCommitEvent(XML::Event* log) = 0;
};
}