diff options
| author | Sylvain Chiron <chironsylvain@orange.fr> | 2017-07-01 11:36:41 +0000 |
|---|---|---|
| committer | Sylvain Chiron <chironsylvain@orange.fr> | 2017-07-01 11:36:41 +0000 |
| commit | fd733201b82f39655488a286c89142f321ef9dc9 (patch) | |
| tree | a12c70f213414f69467f666619b1552103f6370e /src/libavoid/makepath.h | |
| parent | Hackfest icon work: restore selected menu icons and make theming easier (diff) | |
| download | inkscape-fd733201b82f39655488a286c89142f321ef9dc9.tar.gz inkscape-fd733201b82f39655488a286c89142f321ef9dc9.zip | |
Updated libs from the Adaptagrams project: libavoid, libcola and libvspc; changed the code to match the new API
Signed-off-by: Sylvain Chiron <chironsylvain@orange.fr>
Diffstat (limited to 'src/libavoid/makepath.h')
| -rw-r--r-- | src/libavoid/makepath.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/libavoid/makepath.h b/src/libavoid/makepath.h index b40bfbc3d..2e4b5ba9a 100644 --- a/src/libavoid/makepath.h +++ b/src/libavoid/makepath.h @@ -19,7 +19,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * Author(s): Michael Wybrow <mjwybrow@users.sourceforge.net> + * Author(s): Michael Wybrow */ @@ -30,13 +30,23 @@ namespace Avoid { class ConnRef; - -extern void makePath(ConnRef *lineRef, bool *flag); - +class AStarPathPrivate; +class ANode; +class VertInf; + +class AStarPath +{ + public: + AStarPath(); + ~AStarPath(); + void search(ConnRef *lineRef, VertInf *src, VertInf *tar, + VertInf *start); + private: + AStarPathPrivate *m_private; +}; } - #endif |
