diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-05 21:16:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-05 21:16:11 +0300 |
commit | 94c711953d71b21e4cc4c950dec921b253ae0d54 (patch) | |
tree | 1b627434871ae469cce098fc69a881291e249949 /protocols/JabberG/src/jabber_message_manager.h | |
parent | 40478d50b60d8c2e0711b3b0691c80be6b2da290 (diff) |
Jabber: code cleaning & simplification
Diffstat (limited to 'protocols/JabberG/src/jabber_message_manager.h')
-rw-r--r-- | protocols/JabberG/src/jabber_message_manager.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/JabberG/src/jabber_message_manager.h b/protocols/JabberG/src/jabber_message_manager.h index 0ae5affdc9..680c6fa708 100644 --- a/protocols/JabberG/src/jabber_message_manager.h +++ b/protocols/JabberG/src/jabber_message_manager.h @@ -53,13 +53,13 @@ public: void *m_pUserData;
// parsed data
int m_nMessageType;
- LPCTSTR m_szFrom;
- LPCTSTR m_szChildTagXmlns;
- LPCTSTR m_szChildTagName;
+ const wchar_t *m_szFrom;
+ const wchar_t *m_szChildTagXmlns;
+ const wchar_t *m_szChildTagName;
HXML m_hChildNode;
MCONTACT m_hContact;
- LPCTSTR m_szTo;
- LPCTSTR m_szId;
+ const wchar_t *m_szTo;
+ const wchar_t *m_szId;
public:
__forceinline int GetMessageType()
@@ -68,13 +68,13 @@ public: __forceinline void* GetUserData()
{ return m_pUserData;
}
- __forceinline LPCTSTR GetFrom()
+ __forceinline const wchar_t *GetFrom()
{ return m_szFrom;
}
- __forceinline LPCTSTR GetTo()
+ __forceinline const wchar_t *GetTo()
{ return m_szTo;
}
- __forceinline LPCTSTR GetIdStr()
+ __forceinline const wchar_t *GetIdStr()
{ return m_szId;
}
__forceinline MCONTACT GetHContact()
@@ -83,7 +83,7 @@ public: __forceinline HXML GetChildNode()
{ return m_hChildNode;
}
- __forceinline LPCTSTR GetChildNodeName()
+ __forceinline const wchar_t *GetChildNodeName()
{ return m_szChildTagName;
}
};
|