summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2014-01-22 03:20:23 +0000
committerMartin Owens <doctormo@gmail.com>2014-01-22 03:20:23 +0000
commite01eb5907b04fdc194551741be6c6dbf5ee6f7e5 (patch)
tree5b0051ad37589ddaa109f88cf9cf8ce1d1687945 /src/document.h
parentEMF export: fix handling of transformed rectangular gradients (bug #1263242) (diff)
downloadinkscape-e01eb5907b04fdc194551741be6c6dbf5ee6f7e5.tar.gz
inkscape-e01eb5907b04fdc194551741be6c6dbf5ee6f7e5.zip
Improve use tag logic by recording the loaded documents in a list.
(bzr r12969)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/document.h b/src/document.h
index cc565e3aa..e804a4980 100644
--- a/src/document.h
+++ b/src/document.h
@@ -25,6 +25,7 @@
#include "gc-finalized.h"
#include "gc-anchored.h"
#include <glibmm/ustring.h>
+#include <boost/ptr_container/ptr_list.hpp>
#include <vector>
namespace Avoid {
@@ -120,6 +121,10 @@ public:
GSList *_collection_queue;
+ // A list of svg documents being used or shown within this document
+ boost::ptr_list<SPDocument> child_documents;
+ SPDocument *parent_document;
+
bool oldSignalsConnected;
/** Returns our SPRoot */