mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
StringEngine Added.
This commit is contained in:
parent
df4d96dfed
commit
7dd70b971a
21
MiniEngine.h
21
MiniEngine.h
|
@ -381,10 +381,31 @@ namespace MiniEngine
|
|||
|
||||
}/// End of namespace MiniEngine::EventHandle
|
||||
|
||||
class StringEngine
|
||||
{
|
||||
public:
|
||||
StringEngine(std::string StringFile,std::string LanguageTag);
|
||||
|
||||
StringEngine(StringEngine& )=delete;
|
||||
StringEngine& operator = (StringEngine& )=delete;
|
||||
|
||||
int useLanaguage(std::string LanguageTag);
|
||||
bool ready();
|
||||
std::string getString(std::string Tag);
|
||||
~StringEngine();
|
||||
private:
|
||||
struct impl;
|
||||
impl* pimpl;
|
||||
};
|
||||
|
||||
}/// End of namespace MiniEngine
|
||||
|
||||
std::string UTF8ToGBK(std::string UTF8String);
|
||||
std::string GBKToUTF8(std::string GBKString);
|
||||
bool canread(std::string Path);
|
||||
bool canwrite(std::string Path);
|
||||
bool isexist(std::string Path);
|
||||
bool canexecute(std::string Path);
|
||||
|
||||
/// Your Program Should Start Here
|
||||
int AppMain();
|
||||
|
|
Loading…
Reference in New Issue
Block a user