X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fconn-avoid-ref.h;h=c60cf7afd1c5a28ed742b37e68b4598bc79dd4eb;hb=c2163b544f441fdd51e80da77f1bc63d21703724;hp=ac9295cf917450307ab3a3c23834d15ce04b6757;hpb=449c491223fe78da73b171e6a23949ee37c7c68e;p=inkscape.git diff --git a/src/conn-avoid-ref.h b/src/conn-avoid-ref.h index ac9295cf9..c60cf7afd 100644 --- a/src/conn-avoid-ref.h +++ b/src/conn-avoid-ref.h @@ -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;