From a228b0e44e9da5c5ef2f871f0cce63a4e8ae18ac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 17 Jun 2024 12:17:44 +0300 Subject: =?UTF-8?q?fixes=20#4466=20(Telegram:=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=BE=D1=87=D0=B8=D1=81=D1=82=D0=BA=D0=B5=20=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=B8=20=D0=BA=D0=B0=D0=BD=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=20=D0=BD=D1=83=D0=B6=D0=BD=D0=BE=20=D0=B1=D0=BB=D0=BE=D0=BA?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BE=D0=BF=D1=86?= =?UTF-8?q?=D0=B8=D0=B8=20=D0=BF=D1=80=D0=BE=20=D1=83=D0=B4=D0=B0=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B8=D1=81=D1=82=D0=BE=D1=80=D0=B8?= =?UTF-8?q?=D0=B8=20=D1=81=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_core.h | 2 ++ include/m_protosvc.h | 7 +++++++ 2 files changed, 9 insertions(+) (limited to 'include') diff --git a/include/m_core.h b/include/m_core.h index c3e3df35a6..71fad47b41 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -319,6 +319,8 @@ MIR_CORE_DLL(int) mir_vsnwprintf(_Pre_notnull_ _Always_(_Post_z_) wchar_t *bu struct PROTO_INTERFACE; +MIR_APP_DLL(bool) Proto_CanDeleteHistory(const char *szModule, MCONTACT hContact); + MIR_APP_DLL(INT_PTR) ProtoBroadcastAck(const char *szModule, MCONTACT hContact, int type, int result, HANDLE hProcess, LPARAM lParam = 0); MIR_APP_DLL(void) ProtoBroadcastAsync(const char *szModule, MCONTACT hContact, int type, int result, HANDLE hProcess, LPARAM lParam = 0); diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 7f33cf5e2b..40537d2209 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -587,6 +587,13 @@ struct PROTOFILERESUME #define PS_EMPTY_SRV_HISTORY "/EmptyServerHistory" +/////////////////////////////////////////////////////////////////////////////// +// Checks that server history for a contact can be removed +// wParam = hContact +// lParam = 0 + +#define PS_CAN_EMPTY_HISTORY "/CanEmptyHistory" + /////////////////////////////////////////////////////////////////////////////// // SENDING SERVICES // these should be called with ProtoChainSend() -- cgit v1.2.3