aboutsummaryrefslogtreecommitdiff
path: root/extension/src/LoadLocalisation.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-14 09:52:25 +0200
committer Hop311 <hop3114@gmail.com>2023-09-14 09:52:25 +0200
commit70c040d042cb536e5ce16b0cfff0e0afa39e8ed7 (patch)
tree559681d5a2569adc307409d818311760edc12654 /extension/src/LoadLocalisation.hpp
parent9dc8c3c89a86b8be2084890f3207adc6c9cda496 (diff)
Logger::warning, format cleanup + req comments
Diffstat (limited to 'extension/src/LoadLocalisation.hpp')
-rw-r--r--extension/src/LoadLocalisation.hpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/extension/src/LoadLocalisation.hpp b/extension/src/LoadLocalisation.hpp
deleted file mode 100644
index 04ec5c7..0000000
--- a/extension/src/LoadLocalisation.hpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#pragma once
-
-#include <godot_cpp/classes/translation.hpp>
-
-namespace OpenVic {
- class LoadLocalisation : public godot::Object {
-
- GDCLASS(LoadLocalisation, godot::Object)
-
- static LoadLocalisation* singleton;
-
- godot::Error _load_file_into_translation(godot::String const& file_path, godot::Ref<godot::Translation> translation);
- godot::Ref<godot::Translation> _get_translation(godot::String const& locale);
-
- protected:
- static void _bind_methods();
-
- public:
- static LoadLocalisation* get_singleton();
-
- LoadLocalisation();
- ~LoadLocalisation();
-
- godot::Error load_file(godot::String const& file_path, godot::String const& locale);
- godot::Error load_locale_dir(godot::String const& dir_path, godot::String const& locale);
- godot::Error load_localisation_dir(godot::String const& dir_path);
- };
-}