Code

now that selection description includes style (filtered, clipped), we need to update...
[inkscape.git] / src / document.h
index fff3289ddbfc5489924fdafbad1d73001e756e66..3ede5a3d0bdc7b4946162b7799595582ca3bec74 100644 (file)
@@ -21,7 +21,7 @@
 #include <sigc++/class_slot.h>
 
 #include "libcroco/cr-cascade.h"
-#include <2geom/rect.h>
+#include <2geom/forward.h>
 
 #include "gc-managed.h"
 #include "gc-finalized.h"
@@ -41,10 +41,6 @@ struct SPItem;
 struct SPObject;
 struct SPGroup;
 
-namespace Geom {
-    class Point;
-}
-
 namespace Inkscape {
     struct Application;
     class Selection; 
@@ -114,6 +110,8 @@ struct SPDocument : public Inkscape::GC::Managed<>,
 
     GSList *_collection_queue;
 
+    bool oldSignalsConnected;
+
     void add_persp3d (Persp3D * const persp);
     void remove_persp3d (Persp3D * const persp);
 
@@ -187,6 +185,7 @@ SPDocument *sp_document_create(Inkscape::XML::Document *rdoc, gchar const *uri,
 
 gdouble sp_document_width (SPDocument * document);
 gdouble sp_document_height (SPDocument * document);
+Geom::Point sp_document_dimensions (SPDocument * document);
 
 struct SPUnit;