summaryrefslogtreecommitdiffstats
path: root/src/libavoid/makepath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libavoid/makepath.h')
-rw-r--r--src/libavoid/makepath.h20
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