summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-27 12:33:50 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-27 12:33:50 +0300
commit134e453619448d877e437160330efc8053bf32d0 (patch)
treebe9a856ab122ef5ecc8b1cf0920bb3b39a64ab12 /include
parent18249f6a5acc26c75005526c6dfebcf112b7141d (diff)
fixes #3578 (Оффлайновые файлы: доработка журналов)
Diffstat (limited to 'include')
-rw-r--r--include/m_protosvc.h2
-rw-r--r--include/m_srmm_int.h5
2 files changed, 2 insertions, 5 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h
index 80cc51026d..ec77c0fad0 100644
--- a/include/m_protosvc.h
+++ b/include/m_protosvc.h
@@ -807,6 +807,7 @@ __forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, PROTORECVFILE *pre)
struct MIR_APP_EXPORT OFDTHREAD : public MNonCopyable
{
OFDTHREAD(MEVENT, const CMStringW &, bool);
+ ~OFDTHREAD();
void Finish();
void ResetFileName(const wchar_t *pwszNewName);
@@ -814,6 +815,7 @@ struct MIR_APP_EXPORT OFDTHREAD : public MNonCopyable
MEVENT hDbEvent;
MFilePath wszPath;
bool bOpen;
+ struct OFD_Callback *pCallback = nullptr;
};
///////////////////////////////////////////////////////////////////////////////
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h
index 12c2b1cd8a..8f47e4cfe2 100644
--- a/include/m_srmm_int.h
+++ b/include/m_srmm_int.h
@@ -356,11 +356,6 @@ MIR_APP_DLL(void) Srmm_Broadcast(UINT, WPARAM, LPARAM);
MIR_APP_DLL(void) Srmm_CreateHotkey(const char *pszSection, const char *pszDescription);
/////////////////////////////////////////////////////////////////////////////////////////
-// downloads or launches offline file
-
-MIR_APP_DLL(void) Srmm_DownloadOfflineFile(MCONTACT hContact, MEVENT hDbEvent, bool bOpen);
-
-/////////////////////////////////////////////////////////////////////////////////////////
// finds a SRMM window using hContact
MIR_APP_DLL(HWND) Srmm_FindWindow(MCONTACT hContact);