diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-11-14 17:56:01 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-11-14 17:56:01 +0000 |
commit | e3e2ecff1cdd34b1fd389ea61e0410c7745e2a32 (patch) | |
tree | 6c051b4caa59956e6df008ef5993340429df84dc /protocols/SkypeWeb/src/skype_proto.h | |
parent | f675677cf3952399bc773817025c394654f0a46e (diff) |
SkypeWeb: images uploading support (part 2)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
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);
|