summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
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;