summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/mlan.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-12-26 20:42:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-12-26 20:42:04 +0300
commit7178a1cab5b35a8e5bac3e7d367c3d72e72ec7e6 (patch)
tree07c38891bed8ca3a6f06029cb1b5b5df02cbb99c /protocols/EmLanProto/src/mlan.h
parent4da9b39a6219cecfe5486d392e94648cd84d5f30 (diff)
EMLanProto:
- plugin converted into Unicode; - fixes #933 (E-mage LAN - new function - directly IP for companion); - fixes utf8 autodetect in messages - version bump
Diffstat (limited to 'protocols/EmLanProto/src/mlan.h')
-rw-r--r--protocols/EmLanProto/src/mlan.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/EmLanProto/src/mlan.h b/protocols/EmLanProto/src/mlan.h
index ed151e1212..a314c054cd 100644
--- a/protocols/EmLanProto/src/mlan.h
+++ b/protocols/EmLanProto/src/mlan.h
@@ -62,7 +62,7 @@ public:
void LoadSettings();
void SaveSettings();
- char* GetName() { return m_name; }
+ wchar_t* GetName() { return m_name; }
bool GetUseHostName() { return m_UseHostName; }
void SetUseHostName(bool val) { m_UseHostName = val; }
void SetRequiredIp(u_long ip) { m_RequiredIp = ip; }
@@ -92,8 +92,8 @@ private:
TContact* m_pRootContact;
HANDLE m_hCheckThread;
- char m_name[MAX_HOSTNAME_LEN];
- int m_nameLen;
+ wchar_t m_name[MAX_HOSTNAME_LEN];
+ DWORD m_nameLen;
mir_cs m_csAccessClass;
mir_cs m_csAccessAwayMes;
@@ -174,10 +174,10 @@ private:
u_long m_addr;
MCONTACT m_hContact;
- char* m_szDescription;
- char** m_szFiles;
- char* m_szDir;
- char* m_szRenamedFile;
+ wchar_t* m_szDescription;
+ wchar_t** m_szFiles;
+ wchar_t* m_szDir;
+ wchar_t* m_szRenamedFile;
u_char* m_buf;
int m_recSize;