diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-30 20:10:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-30 20:10:41 +0000 |
commit | 916709315ea2044a31adfc0e5b2809fe712358f3 (patch) | |
tree | f9aa0dbe9507dd3a36b5167a83608ba9765ed5a4 /protocols/Gadu-Gadu/src/gg_proto.h | |
parent | 8d3522f82f331954a495275a0e23402906d9bb9a (diff) |
- major cleanup of GG avatar code
- fix for hangup on exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@5198 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg_proto.h')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg_proto.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/protocols/Gadu-Gadu/src/gg_proto.h b/protocols/Gadu-Gadu/src/gg_proto.h index baf396ad37..5660ce1713 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.h +++ b/protocols/Gadu-Gadu/src/gg_proto.h @@ -144,9 +144,9 @@ struct GGPROTO : public PROTO_INTERFACE void getAvatarFilename(HANDLE hContact, TCHAR *pszDest, int cbLen);
void requestAvatarTransfer(HANDLE hContact, char *szAvatarURL);
void requestAvatarInfo(HANDLE hContact, int iWaitFor);
- void getUserAvatar();
+ void getOwnAvatar();
void setAvatar(const TCHAR *szFilename);
- void getAvatarFileInfo(uin_t uin, char **avatarurl, char **avatarts);
+ bool getAvatarFileInfo(uin_t uin, char **avatarurl, char **avatarts);
INT_PTR __cdecl getavatarcaps(WPARAM wParam, LPARAM lParam);
INT_PTR __cdecl getavatarinfo(WPARAM wParam, LPARAM lParam);
@@ -154,10 +154,9 @@ struct GGPROTO : public PROTO_INTERFACE INT_PTR __cdecl setmyavatar(WPARAM wParam, LPARAM lParam);
void initavatarrequestthread();
- void uninitavatarrequestthread();
void __cdecl avatarrequestthread(void*);
- void __cdecl getuseravatarthread(void*);
+ void __cdecl getOwnAvatarThread(void*);
void __cdecl setavatarthread(void*);
/* File transfer functions */
@@ -254,7 +253,9 @@ struct GGPROTO : public PROTO_INTERFACE //////////////////////////////////////////////////////////////////////////////////////
CRITICAL_SECTION ft_mutex, sess_mutex, img_mutex, modemsg_mutex, avatar_mutex, sessions_mutex;
- list_t watches, transfers, requests, chats, imagedlgs, avatar_requests, avatar_transfers, sessions;
+ list_t watches, transfers, requests, chats, imagedlgs, sessions;
+ LIST<GGREQUESTAVATARDATA> avatar_requests;
+ LIST<GGGETAVATARDATA> avatar_transfers;
int gc_enabled, gc_id, is_list_remove, check_first_conn;
uin_t next_uin;
unsigned long last_crc;
|