summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-05 21:16:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-05 21:16:11 +0300
commit94c711953d71b21e4cc4c950dec921b253ae0d54 (patch)
tree1b627434871ae469cce098fc69a881291e249949 /protocols/JabberG/src/stdafx.h
parent40478d50b60d8c2e0711b3b0691c80be6b2da290 (diff)
Jabber: code cleaning & simplification
Diffstat (limited to 'protocols/JabberG/src/stdafx.h')
-rw-r--r--protocols/JabberG/src/stdafx.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h
index e9b233babc..6943d549e0 100644
--- a/protocols/JabberG/src/stdafx.h
+++ b/protocols/JabberG/src/stdafx.h
@@ -105,7 +105,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "jabber_xml.h"
#include "jabber_byte.h"
#include "jabber_ibb.h"
-#include "jabber_db_utils.h"
struct SESSION_INFO : public GCSessionInfoBase {};
@@ -680,12 +679,12 @@ struct CJabberAdhocStartupParams
struct JabberAdHocData
{
CJabberProto *proto;
- int CurrentHeight;
- int curPos;
- int frameHeight;
- RECT frameRect;
- HXML AdHocNode;
- HXML CommandsNode;
+ int CurrentHeight;
+ int curPos;
+ int frameHeight;
+ RECT frameRect;
+ HXML AdHocNode;
+ HXML CommandsNode;
wchar_t *ResponderJID;
};
@@ -710,7 +709,7 @@ struct TStringPairs
typedef char JabberShaStrBuf[2*MIR_SHA1_HASH_SIZE + 1];
wchar_t* __stdcall JabberNickFromJID(const wchar_t *jid);
-wchar_t* JabberPrepareJid(LPCTSTR jid);
+wchar_t* JabberPrepareJid(const wchar_t *jid);
void __stdcall JabberUrlDecodeW(WCHAR *str);
char* __stdcall JabberSha1(const char *str, JabberShaStrBuf buf);
wchar_t* __stdcall JabberStrFixLines(const wchar_t *str);
@@ -723,7 +722,7 @@ wchar_t* __stdcall JabberStripJid(const wchar_t *jid, wchar_t *dest, size
int __stdcall JabberGetPacketID(HXML n);
wchar_t* __stdcall JabberId2string(int id);
-LPCTSTR __stdcall JabberGetPictureType(HXML node, const char *picBuf);
+const wchar_t * __stdcall JabberGetPictureType(HXML node, const char *picBuf);
wchar_t* time2str(time_t _time, wchar_t *buf, size_t bufLen);
time_t str2time(const wchar_t*);