summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_protosvc.h4
-rw-r--r--include/m_srmm_int.h3
2 files changed, 6 insertions, 1 deletions
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