From edbfd659e4990494670e535d5be282659cd5bfc8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 29 Jul 2023 14:23:02 +0300 Subject: =?UTF-8?q?fixes=20#3602=20("Copy=20path"=20=D0=B2=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=BD=D0=BE=D0=BC=20=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=8E=20=D0=B4=D0=BB=D1=8F=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_protosvc.h | 4 ++++ include/m_srmm_int.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_protosvc.h b/include/m_protosvc.h index ec77c0fad0..601ddebb40 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -804,6 +804,10 @@ __forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, PROTORECVFILE *pre) #define PS_OFFLINEFILE "/OfflineFile" +#define OFD_DOWNLOAD 0x0001 +#define OFD_SAVEAS 0x0002 +#define OFD_RUN 0x1000 + struct MIR_APP_EXPORT OFDTHREAD : public MNonCopyable { OFDTHREAD(MEVENT, const CMStringW &, bool); diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 12c2b1cd8a..d061fcd230 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -357,8 +357,9 @@ MIR_APP_DLL(void) Srmm_CreateHotkey(const char *pszSection, const char *pszDescr ///////////////////////////////////////////////////////////////////////////////////////// // downloads or launches offline file +// iCommand = combination of OFD_* constants -MIR_APP_DLL(void) Srmm_DownloadOfflineFile(MCONTACT hContact, MEVENT hDbEvent, bool bOpen); +MIR_APP_DLL(void) Srmm_DownloadOfflineFile(MCONTACT hContact, MEVENT hDbEvent, int iCommand); ///////////////////////////////////////////////////////////////////////////////////////// // finds a SRMM window using hContact -- cgit v1.2.3