diff options
Diffstat (limited to 'protocols/MRA/MraAvatars.h')
-rw-r--r-- | protocols/MRA/MraAvatars.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/protocols/MRA/MraAvatars.h b/protocols/MRA/MraAvatars.h index 994f9cbd67..67c0eff121 100644 --- a/protocols/MRA/MraAvatars.h +++ b/protocols/MRA/MraAvatars.h @@ -6,25 +6,10 @@ #pragma once
#endif // _MSC_VER > 1000
-
-
-
-
-DWORD MraAvatarsQueueInitialize(HANDLE *phAvatarsQueueHandle);
-void MraAvatarsQueueDestroy(HANDLE hAvatarsQueueHandle);
-
-
#define PA_FORMAT_DEFAULT 255 // return file name of def avatar
-#define GetContactAvatarFormat(hContact,dwDefaultFormat) DB_Mra_GetByte(hContact,"AvatarType",dwDefaultFormat)
-#define SetContactAvatarFormat(hContact,dwFormat) DB_Mra_SetByte(hContact,"AvatarType",(BYTE)dwFormat)
-
-DWORD MraAvatarsGetFileName(HANDLE hAvatarsQueueHandle, HANDLE hContact, DWORD dwFormat, LPTSTR lpszPath, SIZE_T dwPathSize, SIZE_T *pdwPathSizeRet);
+#define GetContactAvatarFormat(hContact, dwDefaultFormat) mraGetByte(hContact, "AvatarType", dwDefaultFormat)
+#define SetContactAvatarFormat(hContact, dwFormat) mraSetByte(hContact, "AvatarType", (BYTE)dwFormat)
-// mir flag: GAIF_FORCE
-DWORD MraAvatarsQueueGetAvatar(HANDLE hAvatarsQueueHandle, DWORD dwFlags, HANDLE hContact, DWORD *pdwAvatarsQueueID, DWORD *pdwFormat, LPTSTR lpszPath);
-DWORD MraAvatarsQueueGetAvatarSimple(HANDLE hAvatarsQueueHandle, DWORD dwFlags, HANDLE hContact, DWORD dwSourceID);
-DWORD MraAvatarsDeleteContactAvatarFile(HANDLE hAvatarsQueueHandle, HANDLE hContact);
-
INT_PTR CALLBACK MraAvatarsQueueDlgProcOpts(HWND hWndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|