diff --git a/src/knotholder.h b/src/knotholder.h
index 14a1397689f5fc23a1f53c6b3476266468977e4c..bd57776dbfd4066650b2d9e4f8f8743e6efe5e23 100644 (file)
--- a/src/knotholder.h
+++ b/src/knotholder.h
void add_pattern_knotholder();
-//private:
+ const SPItem *getItem() { return item; }
+
+ friend class ShapeEditor;
+
+protected:
SPDesktop *desktop;
SPItem *item; // TODO: Remove this and keep the actual item (e.g., SPRect etc.) in the item-specific knotholders
+ Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners.
std::list<KnotHolderEntity *> entity;
SPKnotHolderReleasedFunc released;
- Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners.
-
gboolean local_change; ///< if true, no need to recreate knotholder if repr was changed.
};