summaryrefslogtreecommitdiffstats
path: root/src/libavoid/makepath.h
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-09 12:42:10 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-09 12:42:10 +0000
commit241554b7ad311b5868ba284c7a4e6a410432b9bd (patch)
tree8bf6fed572d27e9b97ca60b90ae1684ba4856eeb /src/libavoid/makepath.h
parentUse .xml when exporting shortcuts by default (diff)
parentShortcuts: Fix for 7d248fbba5b0c24d9a24cda8c3f2e79f96395553 (is_user_set was ... (diff)
downloadinkscape-241554b7ad311b5868ba284c7a4e6a410432b9bd.tar.gz
inkscape-241554b7ad311b5868ba284c7a4e6a410432b9bd.zip
Merge branch 'master' into shortcuts
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