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.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.h')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg.h | 18 |
1 files changed, 16 insertions, 2 deletions
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<GGPROTO> g_Instances;
extern PLUGININFOEX pluginInfo;
extern IconItem iconList[];
|