summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-drag.h')
-rw-r--r--src/gradient-drag.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/gradient-drag.h b/src/gradient-drag.h
index 40ab065ca..8aa9a6550 100644
--- a/src/gradient-drag.h
+++ b/src/gradient-drag.h
@@ -1,5 +1,5 @@
-#ifndef __GRADIENT_DRAG_H__
-#define __GRADIENT_DRAG_H__
+#ifndef SEEN_GRADIENT_DRAG_H
+#define SEEN_GRADIENT_DRAG_H
/*
* On-canvas gradient dragging
@@ -14,19 +14,30 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <glib/gslist.h>
#include <stddef.h>
#include <sigc++/sigc++.h>
#include <vector>
+#include <glib.h>
+#include <glibmm/ustring.h>
-#include <forward.h>
-#include <libnr/nr-forward.h>
#include <2geom/point.h>
-#include <knot-enums.h>
-struct SPItem;
+#include "knot-enums.h"
+
struct SPKnot;
+class SPDesktop;
+class SPCSSAttr;
+class SPLinearGradient;
+class SPItem;
+class SPObject;
+class SPRadialGradient;
+class SPStop;
+
+namespace Inkscape {
+class Selection;
+} // namespace Inkscape
+
/**
This class represents a single draggable point of a gradient. It remembers the item
which has the gradient, whether it's fill or stroke, the point type (from the
@@ -188,4 +199,4 @@ private:
sigc::connection style_query_connection;
};
-#endif
+#endif // SEEN_GRADIENT_DRAG_H