summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-07-04 05:00:03 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-07-04 05:00:03 +0000
commit2f6035a86d42b71950b2090559d0eb29c593137c (patch)
tree8d791f18ca8373e470c1cb71c2b3dea648bc2cac /protocols/Skype/src/skype_proto.h
parent2726a957371d1f40ebf5a83c1434f70311a0f678 (diff)
Skype: some fix in file transfer and blocked list dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@5226 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index ccaa983a8a..e640686f31 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -19,6 +19,16 @@ struct ReadMessageParam
CMessage::TYPE msgType;
};
+struct ContactParam
+{
+ ContactRef contact;
+ CSkypeProto *ppro;
+
+ ContactParam(const ContactRef &contact, CSkypeProto *ppro) : contact(contact), ppro(ppro)
+ {
+ }
+};
+
struct BlockParam
{
HANDLE hContact;
@@ -361,7 +371,7 @@ protected:
bool IsProtoContact(HANDLE hContact);
HANDLE GetContactBySid(const wchar_t* sid);
HANDLE GetContactFromAuthEvent(HANDLE hEvent);
- HANDLE AddContact(CContact::Ref contact);
+ HANDLE AddContact(CContact::Ref contact, bool isTemporary = false);
bool IsContactOnline(HANDLE hContact);
void SetAllContactStatus(int status);
@@ -375,7 +385,6 @@ protected:
void __cdecl SearchByEmailAsync(void*);
// profile
-
void UpdateProfileAvatar(SEObject *obj, HANDLE hContact = NULL);
void UpdateProfileAboutText(SEObject *obj, HANDLE hContact = NULL);
void UpdateProfileBirthday(SEObject *obj, HANDLE hContact = NULL);
@@ -484,6 +493,7 @@ protected:
static INT_PTR CALLBACK SkypeBlockProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK SkypeBlockedOptionsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
+ static LRESULT CALLBACK SkypeBlockedOptionsSubProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
// database
bool IsMessageInDB(HANDLE hContact, DWORD timestamp, SEBinary &guid, int flag = 0);