summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-28 21:26:57 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-28 21:26:57 +0000
commit23479c4e542e48ced40947777aa574e435153d34 (patch)
tree3c6458e886b99186f51ba92aa6c5dfa46956e764 /protocols/Skype/src/skype_proto.h
parent1137908b0395c613b2827428fd846242eaddb999 (diff)
some fixes in avatar loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@4563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index f42d581b35..bb8388c669 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -222,7 +222,7 @@ protected:
void OnAccountChanged(int prop);
// avatars
- bool IsAvatarChanged(const SEBinary &avatar);
+ bool IsAvatarChanged(const SEBinary &avatar, HANDLE hContact = NULL);
static int DetectAvatarFormatBuffer(const char *pBuffer);
static int DetectAvatarFormat(const wchar_t *path);
@@ -234,6 +234,8 @@ protected:
INT_PTR __cdecl GetMyAvatar(WPARAM, LPARAM);
INT_PTR __cdecl SetMyAvatar(WPARAM, LPARAM);
+ SEBinary GetAvatarBinary(wchar_t *path);
+
// messages
void OnMessage(CConversation::Ref conversation, CMessage::Ref message);
void OnMessageSended(CConversation::Ref &conversation, CMessage::Ref &message);
@@ -357,7 +359,7 @@ protected:
int SkypeToMirandaStatus(CContact::AVAILABILITY availability);
CContact::AVAILABILITY MirandaToSkypeStatus(int status);
- SEBinary GetAvatarBinary(wchar_t *path);
+ static bool FileExists(wchar_t *path);
// instances
static LIST<CSkypeProto> instanceList;