summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/commonheaders.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-10 20:23:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-10 20:23:50 +0000
commit84bb8836befd3d31b22562bb02f4ecf22e92c4a9 (patch)
tree0bc3561fc6b2a79fac4d5dea115deeaafcb1faef /plugins/AVS/src/commonheaders.h
parent568b27ff1197231b26d097dc05bcbb27ddd53efa (diff)
avatars related code cleaning & reordering
git-svn-id: http://svn.miranda-ng.org/main/trunk@5638 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src/commonheaders.h')
-rw-r--r--plugins/AVS/src/commonheaders.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/AVS/src/commonheaders.h b/plugins/AVS/src/commonheaders.h
index e35a5270e5..0541a7e53a 100644
--- a/plugins/AVS/src/commonheaders.h
+++ b/plugins/AVS/src/commonheaders.h
@@ -64,6 +64,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+struct CacheNode
+{
+ CacheNode *pNextNode;
+ avatarCacheEntry ace;
+
+ BOOL loaded;
+ int mustLoad;
+ DWORD dwFlags;
+ int pa_format;
+};
+
// The same fields as avatarCacheEntry + proto name
struct protoPicCacheEntry : public avatarCacheEntry, public MZeroedObject
{
@@ -81,6 +92,7 @@ extern OBJLIST<protoPicCacheEntry> g_ProtoPictures, g_MyAvatars;
extern FI_INTERFACE *fei;
int SetAvatarAttribute(HANDLE hContact, DWORD attrib, int mode);
+void DeleteAvatarFromCache(HANDLE, BOOL);
#define GAIR_FAILED 1000