aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/Checksum.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic-extension/singletons/Checksum.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/Checksum.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/singletons/Checksum.hpp b/extension/src/openvic-extension/singletons/Checksum.hpp
new file mode 100644
index 0000000..532a50d
--- /dev/null
+++ b/extension/src/openvic-extension/singletons/Checksum.hpp
@@ -0,0 +1,24 @@
+#pragma once
+
+#include <godot_cpp/core/class_db.hpp>
+#include <godot_cpp/core/object.hpp>
+#include <godot_cpp/variant/string.hpp>
+
+namespace OpenVic {
+ class Checksum : public godot::Object {
+ GDCLASS(Checksum, godot::Object)
+
+ static inline Checksum* _singleton = nullptr;
+
+ protected:
+ static void _bind_methods();
+
+ public:
+ static Checksum* get_singleton();
+
+ Checksum();
+ ~Checksum();
+
+ godot::String get_checksum_text();
+ };
+}