diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-10 08:04:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-10 08:04:30 +0000 |
commit | ddba4ede6b451d0cfcd0d32b5180fbd0689966bf (patch) | |
tree | 5d74f37a7013d13b92c182628d6b68a58e148ae4 /include/m_avatars.h | |
parent | c39340bf493a1745a41317bbf937fc7eb6cbb26a (diff) |
- HANDLE hContact => HCONTACT
- GCF_* prefix was added to chat constants to avoid name conflicts
git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_avatars.h')
-rw-r--r-- | include/m_avatars.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/include/m_avatars.h b/include/m_avatars.h index a91ca7ffb4..ce1e6eab69 100644 --- a/include/m_avatars.h +++ b/include/m_avatars.h @@ -56,6 +56,8 @@ unless AF_FETCHIFPROTONOTVISIBLE is set. #ifndef _M_AVATARS_H
#define _M_AVATARS_H
+#include <m_core.h>
+
#define AVS_BITMAP_VALID 1
#define AVS_BITMAP_EXPIRED 2 // the bitmap has been expired from the cache. (unused, currently.
#define AVS_HIDEONCLIST 4
@@ -65,20 +67,20 @@ unless AF_FETCHIFPROTONOTVISIBLE is set. #define AVS_PROTOPIC 16 // picture is a protocol picture
#define AVS_CUSTOMTRANSPBKG 32 // Bitmap was changed to set the background color transparent
#define AVS_HASTRANSPARENCY 64 // Bitmap has at least one pixel transparent
-#define AVS_OWNAVATAR 128 // is own avatar entry
+#define AVS_OWNAVATAR 128 // is own avatar entry
#define AVS_NOTREADY 4096
typedef struct avatarCacheEntry {
- DWORD cbSize; // set to sizeof(struct)
- HANDLE hContact; // contacts handle, 0, if it is a protocol avatar
- HBITMAP hbmPic; // bitmap handle of the picutre itself
- DWORD dwFlags; // see above for flag values
- LONG bmHeight, bmWidth; // bitmap dimensions
- DWORD t_lastAccess; // last access time (currently unused, but plugins should still
+ DWORD cbSize; // set to sizeof(struct)
+ HCONTACT hContact; // contacts handle, 0, if it is a protocol avatar
+ HBITMAP hbmPic; // bitmap handle of the picutre itself
+ DWORD dwFlags; // see above for flag values
+ LONG bmHeight, bmWidth; // bitmap dimensions
+ DWORD t_lastAccess; // last access time (currently unused, but plugins should still
// use it whenever they access the avatar. may be used in the future
- // to implement cache expiration
- LPVOID lpDIBSection; // unused field
- TCHAR szFilename[MAX_PATH]; // filename of the avatar (absolute path)
+ // to implement cache expiration
+ LPVOID lpDIBSection; // unused field
+ TCHAR szFilename[MAX_PATH]; // filename of the avatar (absolute path)
} AVATARCACHEENTRY;
#define AVDRQ_FALLBACKPROTO 0x0001 // use the protocol picture as fallback (currently not used)
|