summaryrefslogtreecommitdiff
path: root/src/lua/include/lua_filesystem.hpp
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-05-02 17:02:58 +1000
committerailurux <ailuruxx@gmail.com>2024-05-02 17:02:58 +1000
commit4aed95a3cdf6eb39e158cb2333d09b354afe3614 (patch)
tree4d0ddf9e7bc3257b538a8557632d9f2ff115053c /src/lua/include/lua_filesystem.hpp
parent920345b940bb3993c389d9e9be1a75a8041d431d (diff)
downloadtangara-fw-4aed95a3cdf6eb39e158cb2333d09b354afe3614.tar.gz
WIP: Lua filesystem starting point
Diffstat (limited to 'src/lua/include/lua_filesystem.hpp')
-rw-r--r--src/lua/include/lua_filesystem.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lua/include/lua_filesystem.hpp b/src/lua/include/lua_filesystem.hpp
new file mode 100644
index 00000000..2a829405
--- /dev/null
+++ b/src/lua/include/lua_filesystem.hpp
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2023 ailurux <ailuruxx@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+#pragma once
+
+#include "lua.hpp"
+#include "file_iterator.hpp"
+
+namespace lua {
+
+auto check_file_iterator(lua_State*, int stack_pos) -> database::FileIterator*;
+
+auto RegisterFileSystemModule(lua_State*) -> void;
+
+} // namespace lua