Code

optimization: do not notify any listeners if attributes' new value is the same as old
[inkscape.git] / src / conn-avoid-ref.h
index ac9295cf917450307ab3a3c23834d15ce04b6757..28d5de28a2fcc69747502620c01a19607efe5607 100644 (file)
@@ -30,6 +30,13 @@ public:
 
     void setAvoid(char const *value);
     void handleSettingChange(void);
+    
+    // Returns a list of SPItems of all connectors attached to this
+    // object.  Pass one of the following for 'type':
+    //     Avoid::ConnRef::runningTo
+    //     Avoid::ConnRef::runningFrom
+    //     Avoid::ConnRef::runningToAndFrom
+    GSList *getAttachedConnectors(const unsigned int type);
 
 private:
     SPItem *item;