diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-11 22:03:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-11 22:03:29 +0300 |
commit | cd83b1c10bbe50f5aa43a8e8f7dffc5fee1d769a (patch) | |
tree | ffbe1ab12d4f89ecbf6b909efe1a1ac7669efc15 /protocols/JabberG/src/jabber_proto.h | |
parent | 805a76745801f9ac14a837e45ef50b9206ac54da (diff) |
DB::FILE_BLOB expansion for the offline file transfers, part I
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index f940f3349d..019ea10d35 100644 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -135,6 +135,8 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface HANDLE SearchAdvanced(HWND owner) override;
HWND CreateExtendedSearchUI(HWND owner) override;
+ MEVENT RecvFile(MCONTACT hContact, PROTORECVFILE *pre) override;
+
int SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList) override;
HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles) override;
int SendMsg(MCONTACT hContact, int flags, const char *msg) override;
@@ -506,7 +508,10 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void __cdecl FileReceiveThread(filetransfer *ft);
void __cdecl FileServerThread(filetransfer *ft);
void __cdecl FileReceiveHttpThread(filetransfer *ft);
-
+
+ INT_PTR __cdecl OnOfflineFile(WPARAM dbevent, LPARAM lParam);
+ void __cdecl OfflineFileThread(OFDTHREAD *param);
+
void FtCancel(filetransfer *ft);
void FtInitiate(filetransfer *ft);
void FtHandleSiRequest(const TiXmlElement *iqNode);
|