Code

decrease header dependencies
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 23 Nov 2009 21:16:14 +0000 (21:16 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 23 Nov 2009 21:16:14 +0000 (21:16 +0000)
src/knotholder.cpp
src/live_effects/effect.h
src/live_effects/lpeobject.h
src/shape-editor.cpp

index 5f749cfee6a7a4c48fc40b854d58983d2dfd3c7c..45cb140c019883787c478e928668a85c73511fd7 100644 (file)
@@ -30,6 +30,7 @@
 #include "sp-pattern.h"
 #include "style.h"
 #include "live_effects/lpeobject.h"
+#include "live_effects/effect.h"
 #include "desktop.h"
 #include "display/sp-canvas.h"
 
index 6f195b176f3c2aa9d07fda335519789b081c12c9..04e3f91b9f9841f99c1cec245294cd24645b662e 100644 (file)
@@ -13,7 +13,6 @@
 #include "display/display-forward.h"
 #include <map>
 #include <glibmm/ustring.h>
-#include <2geom/path.h>
 #include <2geom/forward.h>
 #include "ui/widget/registry.h"
 #include "sp-lpe-item.h"
@@ -28,6 +27,9 @@ struct SPDesktop;
 struct SPItem;
 class SPNodeContext;
 struct LivePathEffectObject;
+class SPLPEItem;
+class KnotHolder;
+class KnotHolderEntity;
 
 namespace Gtk {
     class Widget;
index dc631a5c1d0e8374a0485e7b7da4dbaabd7ffaa1..9f802643b6bfde639924216be6306484d5e0367e 100644 (file)
  */
  
 #include "sp-object.h"
-#include "effect.h"
+#include "effect-enum.h"
 
 namespace Inkscape {
-namespace XML {
-class Node;
-class Document;
-}
+    namespace XML {
+        class Node;
+        class Document;
+    }
+    namespace LivePathEffect {
+        class Effect;
+    }
 }
 
 #define TYPE_LIVEPATHEFFECT  (LivePathEffectObject::livepatheffect_get_type())
index 4999eb7cfa984d22724ce5b6377798d9a18dd3dd..44ad9dc9e9cf32addeff77e79348da8bfe0abffd 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "sp-object.h"
 #include "sp-item.h"
+#include "sp-lpe-item.h"
 #include "live_effects/lpeobject.h"
 #include "selection.h"
 #include "desktop.h"