groundwork for I18N of text sent over FSD (refs #22)

This commit is contained in:
Mathew Sutcliffe
2013-07-05 16:42:35 +01:00
parent fd3dc4dbe9
commit ab71d75683
2 changed files with 57 additions and 45 deletions

View File

@@ -14,6 +14,7 @@
#include "../../vatlib/vatlib.h"
#include <QScopedPointer>
#include <QBasicTimer>
#include <QTextCodec>
namespace BlackCore
{
@@ -68,6 +69,9 @@ namespace BlackCore
private:
void exceptionDispatcher();
QByteArray toFSD(QString qstr) const;
QString fromFSD(const char* cstr) const;
private:
QScopedPointer<Cvatlib_Network> m_net;
@@ -79,6 +83,8 @@ namespace BlackCore
quint16 m_serverPort;
QString m_username;
QString m_password;
QTextCodec* m_fsdTextCodec;
};
} //namespace BlackCore