summaryrefslogtreecommitdiffstats
path: root/core/io/translation_loader_po.h
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2018-06-11 02:59:53 +0200
committerMarc Gilleron <marc.gilleron@gmail.com>2018-12-15 05:34:53 +0000
commit065e2670af53ae2f71b78d57f8a217b4539cbbe2 (patch)
treea6b802b74f6f7ebd2018b5a3d35061bdcb91eb9d /core/io/translation_loader_po.h
parentca28c455bfdc8408485c217c17f07011c0b43f64 (diff)
downloadredot-engine-065e2670af53ae2f71b78d57f8a217b4539cbbe2.tar.gz
Added basic support for custom resource savers and loaders
Diffstat (limited to 'core/io/translation_loader_po.h')
-rw-r--r--core/io/translation_loader_po.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/translation_loader_po.h b/core/io/translation_loader_po.h
index 670a9fdd7e..9543307cb5 100644
--- a/core/io/translation_loader_po.h
+++ b/core/io/translation_loader_po.h
@@ -36,6 +36,7 @@
#include "core/translation.h"
class TranslationLoaderPO : public ResourceFormatLoader {
+ GDCLASS(TranslationLoaderPO, ResourceFormatLoader)
public:
static RES load_translation(FileAccess *f, Error *r_error, const String &p_path = String());
virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = NULL);