From 73c4eeff66a56dc1df1c19dd1841c77e6458f4a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 Oct 2014 12:22:51 +0000 Subject: ancient junk removed from AVS git-svn-id: http://svn.miranda-ng.org/main/trunk@10682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_avatars.inc | 40 ++++------------------------------------ include/m_avatars.h | 35 ----------------------------------- 2 files changed, 4 insertions(+), 71 deletions(-) (limited to 'include') diff --git a/include/delphi/m_avatars.inc b/include/delphi/m_avatars.inc index 02dff04924..e323e98833 100644 --- a/include/delphi/m_avatars.inc +++ b/include/delphi/m_avatars.inc @@ -188,7 +188,7 @@ const { set a local picture for the given protocol - + wParam = (AnsiChar *) protocol name or NULL for all protocols lParam = either a full picture filename or NULL. If lParam == NULL, the service will open a file selection dialog. @@ -197,7 +197,7 @@ const { see if is possible to set the avatar for the expecified protocol - + wParam = (AnsiChar *) protocol name lParam = 0 return = 1 if can set, 0 if can't @@ -263,7 +263,7 @@ const wParam = hContact lParam = struct CONTACTAVATARCHANGEDNOTIFICATION *cacn the event CAN pass a NULL pointer in lParam which means that the contact deleted its avatar - } + } ME_AV_CONTACTAVATARCHANGED:PAnsiChar = 'SV_Avatars/ContactAvatarChanged'; { @@ -282,38 +282,6 @@ const } MS_AV_REPORTMYAVATARCHANGED:PAnsiChar = 'SV_Avatars/ReportMyAvatarChanged'; -// Bitmap services ////////////////////////////////////////////////////////////////////// - - { - Load an image - wParam = NULL - lParam = filename - } - MS_AV_LOADBITMAP32:PAnsiChar = 'SV_Avatars/LoadBitmap32'; - - { - Save an HBITMAP to an image - wParam = HBITMAP - lParam = full path of filename - } - MS_AV_SAVEBITMAP :PAnsiChar = 'SV_Avatars/SaveBitmap'; - MS_AV_SAVEBITMAPW:PAnsiChar = 'SV_Avatars/SaveBitmapW'; - - { - Returns != 0 if can save that type of image, = 0 if cant - wParam = 0 - lParam = PA_FORMAT_* // image format - } - MS_AV_CANSAVEBITMAP:PAnsiChar = 'SV_Avatars/CanSaveBitmap'; - - { - Returns a copy of the bitmap with the size especified or the original bitmap - if nothing has to be changed - wParam = ResizeBitmap * - lParam = NULL - } - MS_AV_RESIZEBITMAP:PAnsiChar = 'SV_Avatars/ResizeBitmap'; - { * flags for internal use ONLY } @@ -388,7 +356,7 @@ const // lParam = 0 // return = 1 (allowed) or 0 (depending on remote contact status mode) AF_FETCHIFCONTACTOFFLINE = 9; - + { Query avatar caps for a protocol wParam = One of AF_* diff --git a/include/m_avatars.h b/include/m_avatars.h index 7c3e878bef..c4c15aca42 100644 --- a/include/m_avatars.h +++ b/include/m_avatars.h @@ -241,41 +241,6 @@ typedef struct _contactAvatarChangedNotification { #define MS_AV_REPORTMYAVATARCHANGED "SV_Avatars/ReportMyAvatarChanged" - - -// Bitmap services ////////////////////////////////////////////////////////////////////// - -// Load an image -// wParam = NULL -// lParam = filename -#define MS_AV_LOADBITMAP32 "SV_Avatars/LoadBitmap32" - -// Save an HBITMAP to an image -// wParam = HBITMAP -// lParam = full path of filename -#define MS_AV_SAVEBITMAP "SV_Avatars/SaveBitmap" -#define MS_AV_SAVEBITMAPW "SV_Avatars/SaveBitmapW" - -#ifdef _UNICODE - -#define MS_AV_SAVEBITMAPT MS_AV_SAVEBITMAPW - -#else - -#define MS_AV_SAVEBITMAPT MS_AV_SAVEBITMAP - -#endif - -// Returns != 0 if can save that type of image, = 0 if cant -// wParam = 0 -// lParam = PA_FORMAT_* // image format -#define MS_AV_CANSAVEBITMAP "SV_Avatars/CanSaveBitmap" - -// Returns a copy of the bitmap with the size especified or the original bitmap if nothing has to be changed -// wParam = ResizeBitmap * -// lParam = NULL -#define MS_AV_RESIZEBITMAP "SV_Avatars/ResizeBitmap" - /* * flags for internal use ONLY */ -- cgit v1.2.3