summaryrefslogtreecommitdiffstats
path: root/src/knotholder.h
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-06-05 12:34:43 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-06-05 12:34:43 +0000
commitc21611294dea99e78017f770feb78684573cce89 (patch)
tree6a5c9ee15556f36277a47c015b8f46a34e8f6c27 /src/knotholder.h
parentAllow angle measurement base to be changed by tapping space. (diff)
downloadinkscape-c21611294dea99e78017f770feb78684573cce89.tar.gz
inkscape-c21611294dea99e78017f770feb78684573cce89.zip
Header cleaning for GTK+3 migration
(bzr r11460)
Diffstat (limited to 'src/knotholder.h')
-rw-r--r--src/knotholder.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/knotholder.h b/src/knotholder.h
index 2d195e7b4..792a0c912 100644
--- a/src/knotholder.h
+++ b/src/knotholder.h
@@ -20,8 +20,8 @@
#include <glib.h>
#include "knot-enums.h"
#include <2geom/forward.h>
-#include "knot-holder-entity.h"
#include <list>
+#include <sigc++/connection.h>
namespace Inkscape {
namespace XML {
@@ -32,6 +32,14 @@ class PowerStrokePointArrayParamKnotHolderEntity;
}
}
+class KnotHolderEntity;
+class SPItem;
+class SPDesktop;
+class SPKnot;
+
+/* fixme: Think how to make callbacks most sensitive (Lauris) */
+typedef void (* SPKnotHolderReleasedFunc) (SPItem *item);
+
class KnotHolder {
public:
KnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);