From 47b79689fcbe77ab19eb577487ef70642fa291f7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Oct 2024 20:00:52 +0300 Subject: =?UTF-8?q?fixes=20#4720=20(NewStory:=20=D0=B2=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=B8=D1=82=D1=8C=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8?= =?UTF-8?q?=D0=BE=D0=BD=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D1=8C=20?= =?UTF-8?q?MessageState)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/ExternalAPI/m_NewStory.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_NewStory.h b/plugins/ExternalAPI/m_NewStory.h index ed019f42d9..8fd108fd8f 100644 --- a/plugins/ExternalAPI/m_NewStory.h +++ b/plugins/ExternalAPI/m_NewStory.h @@ -13,10 +13,6 @@ enum // result = number of total selected items NSM_SELECTITEMS = NSM_FIRST, - // wParam = (MCONTACT)hContact = database contact - // lParam = (MEVENT)hDbEvent = database event - NSM_ADDEVENT, - // NSM_SEEKTIME, @@ -75,6 +71,14 @@ __forceinline void NS_NotifyFileReady(const wchar_t *pwszFileName) CallService("NewStory/FileReady", (WPARAM)pwszFileName, 0); } +///////////////////////////////////////////////////////////////////////////////////////// +// service for refreshing downloaded files + +__forceinline void NS_NotifyRemoteRead(MCONTACT hContact, MEVENT hEvent) +{ + CallService("NewStory/RemoteRead", hContact, hEvent); +} + ///////////////////////////////////////////////////////////////////////////////////////// // event for changing NewStory menu items // wparam = (MCONTACT)hContact - contact id -- cgit v1.2.3