From 2bb514f4195c99b52e0ec748c975c0fd30dbbd25 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 1 Jun 2015 18:10:32 +0000 Subject: another bunch of dead crutches: non-unicode avatar services git-svn-id: http://svn.miranda-ng.org/main/trunk@13961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_avatars.h | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'include/m_avatars.h') diff --git a/include/m_avatars.h b/include/m_avatars.h index 78b0b2f69f..4bcdf96229 100644 --- a/include/m_avatars.h +++ b/include/m_avatars.h @@ -254,40 +254,25 @@ typedef struct _contactAvatarChangedNotification { /* wParam=0 -lParam=(const char *)Avatar file name or NULL to remove the avatar +lParam=(const TCHAR*)Avatar file name or NULL to remove the avatar return=0 for sucess */ #define PS_SETMYAVATAR "/SetMyAvatar" /* -wParam=(char *)Buffer to file name +wParam=(TCHAR*)Buffer to file name lParam=(int)Buffer size return=0 for sucess */ #define PS_GETMYAVATAR "/GetMyAvatar" -#ifdef _UNICODE - -#define PS_SETMYAVATARW "/SetMyAvatarW" -#define PS_GETMYAVATARW "/GetMyAvatarW" - -#define PS_GETMYAVATART PS_GETMYAVATARW -#define PS_SETMYAVATART PS_SETMYAVATARW - -#else - -#define PS_GETMYAVATART PS_GETMYAVATAR -#define PS_SETMYAVATART PS_SETMYAVATAR - -#endif - -#define PIP_NONE 0 -#define PIP_SQUARE 1 +#define PIP_NONE 0 +#define PIP_SQUARE 1 // Avatar image max size // lParam = (POINT*) maxSize (use -1 for no max) // return 0 for success -#define AF_MAXSIZE 1 +#define AF_MAXSIZE 1 // Avatar image proportion // lParam = 0 -- cgit v1.2.3