summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-node.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 15:18:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 15:18:32 +0100
commita65aaeb43df61a9127aed0c4eb8dd4cb0b3b0bd6 (patch)
tree020f69f766545fa6fc960b3fdfcb4a7cda20313d /src/path-search-node.hpp
parent7fa7b3bc844d61ecc986f77819a11d1e4a526c57 (diff)
b
Diffstat (limited to 'src/path-search-node.hpp')
-rw-r--r--src/path-search-node.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/path-search-node.hpp b/src/path-search-node.hpp
new file mode 100644
index 00000000..ecad6a77
--- /dev/null
+++ b/src/path-search-node.hpp
@@ -0,0 +1,24 @@
+#pragma once
+#include "compat/defs.hpp"
+#include "path-search-result.hpp"
+#include <vector>
+#include <Corrade/Containers/Pointer.h>
+
+namespace floormat {
+
+struct path_search_result::node
+{
+ friend struct path_search_result;
+ friend struct test_app;
+
+ node() noexcept;
+ fm_DECLARE_DELETED_COPY_ASSIGNMENT(node);
+ fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT_(node);
+
+ std::vector<point> vec;
+
+private:
+ Pointer<node> _next;
+};
+
+} // namespace floormat