From 6379adc8ad721692e934589bf0d1532ef82a8139 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Sep 2024 22:28:47 +0300 Subject: =?UTF-8?q?fixes=20#4657=20(NewStory:=20=D0=BD=D0=B5=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B0=D0=B5=D1=82=D1=81?= =?UTF-8?q?=D1=8F=20=D0=BF=D1=80=D0=B5=D0=B4=D0=BF=D1=80=D0=BE=D1=81=D0=BC?= =?UTF-8?q?=D0=BE=D1=82=D1=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/ExternalAPI/m_NewStory.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_NewStory.h b/plugins/ExternalAPI/m_NewStory.h index 00bf7b6e44..ed019f42d9 100644 --- a/plugins/ExternalAPI/m_NewStory.h +++ b/plugins/ExternalAPI/m_NewStory.h @@ -67,6 +67,14 @@ __forceinline HGENMENU Menu_AddNewStoryMenuItem(TMO_MenuItem *pmi, int param) return (HGENMENU)CallService("NSMenu/AddService", (WPARAM)pmi, param); } +///////////////////////////////////////////////////////////////////////////////////////// +// service for refreshing downloaded files + +__forceinline void NS_NotifyFileReady(const wchar_t *pwszFileName) +{ + CallService("NewStory/FileReady", (WPARAM)pwszFileName, 0); +} + ///////////////////////////////////////////////////////////////////////////////////////// // event for changing NewStory menu items // wparam = (MCONTACT)hContact - contact id -- cgit v1.2.3