From e3e2ecff1cdd34b1fd389ea61e0410c7745e2a32 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 14 Nov 2015 17:56:01 +0000 Subject: SkypeWeb: images uploading support (part 2) git-svn-id: http://svn.miranda-ng.org/main/trunk@15725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols/SkypeWeb/src/skype_proto.h') diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index 91f4c3351a..d6b35e7b9d 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -53,6 +53,8 @@ public: virtual int __cdecl UserIsTyping(MCONTACT hContact, int type); virtual int __cdecl OnEvent(PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lParam); virtual int __cdecl RecvContacts(MCONTACT hContact, PROTORECVEVENT*); + virtual HANDLE __cdecl SendFile(MCONTACT hContact, const TCHAR *szDescription, TCHAR **ppszFiles); + // accounts static CSkypeProto* InitAccount(const char *protoName, const TCHAR *userName); static int UninitAccount(CSkypeProto *proto); @@ -219,6 +221,11 @@ private: void LoadProfile(const NETLIBHTTPREQUEST *response); + + void __cdecl CSkypeProto::SendFileThread(void *p); + void OnASMObjectCreated(const NETLIBHTTPREQUEST *response, void *arg); + void OnASMObjectUploaded(const NETLIBHTTPREQUEST *response, void *arg); + // contacts WORD GetContactStatus(MCONTACT hContact); void SetContactStatus(MCONTACT hContact, WORD status); -- cgit v1.2.3