diff --git a/src/document-private.h b/src/document-private.h
index 34e61a9a06a9055a88def6716594fa01e92a946c..fa4754248f082b84ff2eea883dd0bec593da7977 100644 (file)
--- a/src/document-private.h
+++ b/src/document-private.h
#include "composite-undo-stack-observer.h"
+#include "event-log.h"
+
+// XXX only for testing!
+#include "console-output-undo-observer.h"
+
#define SP_DOCUMENT_DEFS(d) ((SPObject *) SP_ROOT (SP_DOCUMENT_ROOT (d))->defs)
namespace Inkscape {
GHashTable *iddef; /**< Dictionary of id -> SPObject mappings */
GHashTable *reprdef; /**< Dictionary of Inkscape::XML::Node -> SPObject mappings */
+ unsigned long serial;
+
/** Dictionary of signals for id changes */
IDChangedSignalMap id_changed_signals;
SPDocument::ResizedSignal resized_signal;
SPDocument::ReconstructionStart _reconstruction_start_signal;
SPDocument::ReconstructionFinish _reconstruction_finish_signal;
+ SPDocument::CommitSignal commit_signal;
/* Undo/Redo state */
- guint sensitive: 1; /* If we save actions to undo stack */
+ bool sensitive: true; /* If we save actions to undo stack */
Inkscape::XML::Event * partial; /* partial undo log when interrupted */
int history_size;
GSList * undo; /* Undo stack of reprs */
/* Undo listener */
Inkscape::CompositeUndoStackObserver undoStackObservers;
+ // XXX only for testing!
+ Inkscape::ConsoleOutputUndoObserver console_output_undo_observer;
+
+ bool seeking;
};
#endif