diff options
author | Hop311 <Hop3114@gmail.com> | 2023-11-17 21:17:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 21:17:55 +0100 |
commit | 9165f5980c5cfe75b3bad4303a5822340f6adcfc (patch) | |
tree | 79a69cb7601bf1367e4ee4f10ebf61b698319bf3 /extension/src/openvic-extension/singletons/Checksum.hpp | |
parent | 72d893d55d26ae9dc6739a853d1773b3cb286123 (diff) | |
parent | aefc61a1aff091e31436c60d004531b5905cecba (diff) |
Merge pull request #166 from OpenVicProject/gui
GUI elements -> Godot UI nodes generator
Diffstat (limited to 'extension/src/openvic-extension/singletons/Checksum.hpp')
-rw-r--r-- | extension/src/openvic-extension/singletons/Checksum.hpp | 24 |
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(); + }; +} |