From: johanengelen Date: Mon, 23 Nov 2009 21:16:14 +0000 (+0000) Subject: decrease header dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=94d56a52b13080070ff669dad70d404ecc53c68e;p=inkscape.git decrease header dependencies --- diff --git a/src/knotholder.cpp b/src/knotholder.cpp index 5f749cfee..45cb140c0 100644 --- a/src/knotholder.cpp +++ b/src/knotholder.cpp @@ -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" diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 6f195b176..04e3f91b9 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -13,7 +13,6 @@ #include "display/display-forward.h" #include #include -#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; diff --git a/src/live_effects/lpeobject.h b/src/live_effects/lpeobject.h index dc631a5c1..9f802643b 100644 --- a/src/live_effects/lpeobject.h +++ b/src/live_effects/lpeobject.h @@ -10,13 +10,16 @@ */ #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()) diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index 4999eb7cf..44ad9dc9e 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -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"