summaryrefslogtreecommitdiffstats
path: root/src/document-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/document-private.h')
-rw-r--r--src/document-private.h81
1 files changed, 0 insertions, 81 deletions
diff --git a/src/document-private.h b/src/document-private.h
deleted file mode 100644
index a9b70714f..000000000
--- a/src/document-private.h
+++ /dev/null
@@ -1,81 +0,0 @@
-#ifndef SEEN_SP_DOCUMENT_PRIVATE_H
-#define SEEN_SP_DOCUMENT_PRIVATE_H
-
-/*
- * Seldom needed document data
- *
- * Authors:
- * Lauris Kaplinski <lauris@kaplinski.com>
- * Jon A. Cruz <jon@joncruz.org>
- *
- * Copyright (C) 1999-2002 Lauris Kaplinski
- * Copyright (C) 2001-2002 Ximian, Inc.
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#include <map>
-#include <set>
-#include <string>
-#include <cstddef>
-#include <sigc++/sigc++.h>
-#include "xml/event-fns.h"
-#include "document.h"
-
-#include "composite-undo-stack-observer.h"
-
-
-// XXX only for testing!
-#include "console-output-undo-observer.h"
-
-class SPObject;
-
-namespace Inkscape {
-namespace XML {
-class Event;
-}
-}
-
-struct SPDocumentPrivate {
- typedef std::map<GQuark, SPDocument::IDChangedSignal> IDChangedSignalMap;
- typedef std::map<GQuark, SPDocument::ResourcesChangedSignal> ResourcesChangedSignalMap;
-
- std::map<std::string, SPObject *> iddef;
- std::map<Inkscape::XML::Node *, SPObject *> reprdef;
-
- unsigned long serial;
-
- /** Dictionary of signals for id changes */
- IDChangedSignalMap id_changed_signals;
-
- /* Resources */
- std::map<std::string, std::vector<SPObject *> > resources;
- ResourcesChangedSignalMap resources_changed_signals;
-
- sigc::signal<void> destroySignal;
- SPDocument::ModifiedSignal modified_signal;
- SPDocument::URISetSignal uri_set_signal;
- SPDocument::ResizedSignal resized_signal;
- SPDocument::ReconstructionStart _reconstruction_start_signal;
- SPDocument::ReconstructionFinish _reconstruction_finish_signal;
- SPDocument::CommitSignal commit_signal;
-
- /* Undo/Redo state */
- bool sensitive; /* If we save actions to undo stack */
- Inkscape::XML::Event * partial; /* partial undo log when interrupted */
- int history_size;
- std::vector<Inkscape::Event *> undo; /* Undo stack of reprs */
- std::vector<Inkscape::Event *> redo; /* Redo stack of reprs */
-
- /* Undo listener */
- Inkscape::CompositeUndoStackObserver undoStackObservers;
-
- // XXX only for testing!
- Inkscape::ConsoleOutputUndoObserver console_output_undo_observer;
-
- bool seeking;
- sigc::connection selChangeConnection;
- sigc::connection desktopActivatedConnection;
-};
-
-#endif // SEEN_SP_DOCUMENT_PRIVATE_H