From: pjrm Date: Sat, 5 Jul 2008 12:03:34 +0000 (+0000) Subject: shape-editor.h: Supply missing #includes/declarations so that we don't depend on... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f56ec00647690bd2d092747208620ab0ebc82d2b;p=inkscape.git shape-editor.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion. (Detected by check-header-compile.) (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.) --- diff --git a/src/shape-editor.h b/src/shape-editor.h index b117c3ce9..7ce0732a4 100644 --- a/src/shape-editor.h +++ b/src/shape-editor.h @@ -14,15 +14,13 @@ #include -namespace Inkscape { -namespace NodePath { -class Path; -} -} +namespace Inkscape { namespace NodePath { class Path; } } +namespace NR { class Rect; } #include "libnr/nr-path-code.h" #include "libnr/nr-point.h" #include "libnr/nr-maybe.h" +#include class KnotHolder; class SPDesktop;