From 2dcfb7ccf0dbecf4f4d5f062c4c8767e3d8eece8 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Fri, 6 Feb 2009 23:17:40 +0000 Subject: make more things private (bzr r7239) --- src/shape-editor.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'src/shape-editor.h') diff --git a/src/shape-editor.h b/src/shape-editor.h index 8780586c4..f30f1aa12 100644 --- a/src/shape-editor.h +++ b/src/shape-editor.h @@ -41,15 +41,10 @@ public: void set_item (SPItem *item, SubType type, bool keep_knotholder = false); void set_item_lpe_path_parameter(SPItem *item, SPObject *lpeobject, const char * key); - void set_knotholder(KnotHolder * knot_holder); - void reset_item (SubType type, bool keep_knotholder = true); void unset_item (SubType type, bool keep_knotholder = false); - const SPItem *get_item (SubType type); - - bool has_nodepath (); - bool has_knotholder (); - void update_knotholder (); + bool has_nodepath (); //((deprecated)) + void update_knotholder (); //((deprecated)) bool has_local_change (SubType type); void decrement_local_change (SubType type); @@ -122,10 +117,19 @@ public: bool nodepath_edits_repr_key(gchar const *name); + // this one is only public because it's called from non-C++ repr changed callback + void shapeeditor_event_attr_changed(gchar const *name); + private: + bool has_knotholder (); + void reset_item (SubType type, bool keep_knotholder = true); + const SPItem *get_item (SubType type); + SPDesktop *desktop; Inkscape::NodePath::Path *nodepath; + + // TODO: std::list knotholders; KnotHolder *knotholder; ShapeEditorsCollective *container; -- cgit v1.2.3