Code

r11451@tres: ted | 2006-04-17 22:21:33 -0700
[inkscape.git] / src / conn-avoid-ref.h
index ac9295cf917450307ab3a3c23834d15ce04b6757..c60cf7afd1c5a28ed742b37e68b4598bc79dd4eb 100644 (file)
@@ -30,6 +30,14 @@ public:
 
     void setAvoid(char const *value);
     void handleSettingChange(void);
+    
+    // Returns a list of SPItems of all connectors/shapes attached to
+    // this object.  Pass one of the following for 'type':
+    //     Avoid::runningTo
+    //     Avoid::runningFrom
+    //     Avoid::runningToAndFrom
+    GSList *getAttachedShapes(const unsigned int type);
+    GSList *getAttachedConnectors(const unsigned int type);
 
 private:
     SPItem *item;