diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-28 19:35:19 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-28 19:35:19 +0000 |
commit | 25fb34c76a42858dc732250b769bb08324d3a996 (patch) | |
tree | 8709277b454f1c115f0101036d0653629d5afe48 /protocols/Skype/src/skype_proto.h | |
parent | fbfdab9ebf0df810b548e502d93fa3be260acf61 (diff) |
- 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
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 14 |
1 files changed, 8 insertions, 6 deletions
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<void> 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[];
|