mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Basic changes to support multiple charsets in the future
This commit is contained in:
@@ -53,6 +53,7 @@ Application::Application()
|
||||
m_appName = "application";
|
||||
m_appCompactName = "app";
|
||||
m_appVersion = "none";
|
||||
m_charset = "cp1252";
|
||||
m_stopping = false;
|
||||
}
|
||||
|
||||
|
@@ -52,6 +52,7 @@ public:
|
||||
const std::string& getCompactName() { return m_appCompactName; }
|
||||
const std::string& getVersion() { return m_appVersion; }
|
||||
|
||||
std::string getCharset() { return m_charset; }
|
||||
std::string getBuildCompiler() { return BUILD_COMPILER; }
|
||||
std::string getBuildDate();
|
||||
std::string getBuildRevision() { return BUILD_REVISION; }
|
||||
@@ -64,6 +65,7 @@ public:
|
||||
protected:
|
||||
void registerLuaFunctions();
|
||||
|
||||
std::string m_charset;
|
||||
std::string m_appName;
|
||||
std::string m_appCompactName;
|
||||
std::string m_appVersion;
|
||||
|
Reference in New Issue
Block a user