From 25fb34c76a42858dc732250b769bb08324d3a996 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 28 Oct 2012 19:35:19 +0000 Subject: - fixed some issues in own info loading - fixed avatar services git-svn-id: http://svn.miranda-ng.org/main/trunk@2105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_proto.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'protocols/Skype/src/skype_proto.h') diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index aee81b58c7..e4514f1668 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -199,8 +199,10 @@ protected: // utils static void FakeAsync(void*); - wchar_t* GetOwnAvatarFilePath(); - wchar_t* GetContactAvatarFilePath(wchar_t* skypeName); + static int DetectAvatarFormatBuffer(const char *pBuffer); + static int DetectAvatarFormat(const wchar_t *path); + + wchar_t* GetContactAvatarFilePath(HANDLE hContact = 0); int SkypeToMirandaLoginError(CAccount::LOGOUTREASON logoutReason); @@ -232,10 +234,10 @@ protected: // services static LIST serviceList; - int GetAvatarInfo(WPARAM, LPARAM); - int GetAvatarCaps(WPARAM, LPARAM); - int GetMyAvatar(WPARAM, LPARAM); - int SetMyAvatar(WPARAM, LPARAM); + int __cdecl GetAvatarInfo(WPARAM, LPARAM); + int __cdecl GetAvatarCaps(WPARAM, LPARAM); + int __cdecl GetMyAvatar(WPARAM, LPARAM); + int __cdecl SetMyAvatar(WPARAM, LPARAM); // icons static _tag_iconList iconList[]; -- cgit v1.2.3