diff options
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;
|