diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-07-13 21:01:07 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-07-13 21:01:07 +0300 |
| commit | c1e60721e900cb28c4e39d106e65549d3579ccfc (patch) | |
| tree | e0fe839e90ee8ef245d2b302ad410d5c380e7957 /include | |
| parent | fa9cafb23a93496a4e67db2832f231b2f0f585b0 (diff) | |
standard offline file download finalization
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_protosvc.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 979d4568e9..c4a62e7327 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -444,8 +444,7 @@ struct CUSTOMSEARCHRESULTS struct PROTOFILERESUME
{
- ~PROTOFILERESUME()
- {
+ ~PROTOFILERESUME() {
mir_free(szFilename);
}
@@ -811,13 +810,11 @@ __forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, PROTORECVFILE *pre) #define PS_OFFLINEFILE "/OfflineFile"
-struct OFDTHREAD
+struct MIR_APP_EXPORT OFDTHREAD : public MNonCopyable
{
- __forceinline OFDTHREAD(MEVENT _1, const CMStringW &_2, bool _3) :
- hDbEvent(_1),
- wszPath(_2),
- bOpen(_3)
- {}
+ OFDTHREAD(MEVENT, const CMStringW &, bool);
+
+ void Finish();
MEVENT hDbEvent;
CMStringW wszPath;
|
