summaryrefslogtreecommitdiffstats
path: root/src/libavoid/makepath.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-07-01 17:13:58 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-07-01 17:13:58 +0000
commitf19bf822a0c2a44ff6201e7d24c4646e2e98e4ed (patch)
tree5459b5d6238a6788582d1fe944dedb300f0ee5d9 /src/libavoid/makepath.h
parentMerge branch 'master' of gitlab.com:inkscape/inkscape (diff)
parentMerge branch 'master' of gitlab.com:inkscape/inkscape (diff)
downloadinkscape-f19bf822a0c2a44ff6201e7d24c4646e2e98e4ed.tar.gz
inkscape-f19bf822a0c2a44ff6201e7d24c4646e2e98e4ed.zip
Merge branch 'master' of gitlab.com:Frigory33/inkscape
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