12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef TRANSLATION_LOADER_PO_H
- #define TRANSLATION_LOADER_PO_H
- #include "io/resource_loader.h"
- #include "os/file_access.h"
- #include "translation.h"
- class TranslationLoaderPO : public 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);
- virtual void get_recognized_extensions(List<String> *p_extensions) const;
- virtual bool handles_type(const String &p_type) const;
- virtual String get_resource_type(const String &p_path) const;
- TranslationLoaderPO();
- };
- #endif
|