From fd733201b82f39655488a286c89142f321ef9dc9 Mon Sep 17 00:00:00 2001 From: Sylvain Chiron Date: Sat, 1 Jul 2017 13:36:41 +0200 Subject: Updated libs from the Adaptagrams project: libavoid, libcola and libvspc; changed the code to match the new API Signed-off-by: Sylvain Chiron --- src/libavoid/makepath.h | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/libavoid/makepath.h') 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 + * 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 -- cgit v1.2.3