From 916709315ea2044a31adfc0e5b2809fe712358f3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jun 2013 20:10:41 +0000 Subject: - 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 --- protocols/Gadu-Gadu/src/gg.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/src/gg.h') diff --git a/protocols/Gadu-Gadu/src/gg.h b/protocols/Gadu-Gadu/src/gg.h index 0623f89e5e..ea98b0bc72 100644 --- a/protocols/Gadu-Gadu/src/gg.h +++ b/protocols/Gadu-Gadu/src/gg.h @@ -131,6 +131,18 @@ typedef struct char val[256]; } GGTOKEN; +struct GGREQUESTAVATARDATA +{ + HANDLE hContact; + int iWaitFor; +}; + +struct GGGETAVATARDATA +{ + HANDLE hContact; + char *szAvatarURL; +}; + // Wrappers of the old interface #define GGDEF_PROTO "GG" // Default Proto @@ -285,7 +297,7 @@ typedef struct #define GG_USERUTIL_EMAIL 3 // popup flags -#define GG_POPUP_ALLOW_MSGBOX 1 +#define GG_POPUP_ALLOW_MSGBOX 1 #define GG_POPUP_ONCE 2 #define GG_POPUP_ERROR 4 #define GG_POPUP_WARNING 8 @@ -304,9 +316,11 @@ typedef struct // Global variables ///////////////////////////////////////////////// +struct GGPROTO; + extern HINSTANCE hInstance; extern CLIST_INTERFACE *pcli; -extern list_t g_Instances; +extern LIST g_Instances; extern PLUGININFOEX pluginInfo; extern IconItem iconList[]; -- cgit v1.2.3