summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-10-15 20:00:52 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-10-15 20:00:52 +0300
commit47b79689fcbe77ab19eb577487ef70642fa291f7 (patch)
tree0a3b3c0679346ff1d49f6f7f898f71001459de47 /plugins/ExternalAPI
parentb210af86bcfb49c791ef8f74f0791ff6d36763bd (diff)
fixes #4720 (NewStory: встроить функциональность MessageState)
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_NewStory.h12
1 files changed, 8 insertions, 4 deletions
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,
@@ -76,6 +72,14 @@ __forceinline void NS_NotifyFileReady(const wchar_t *pwszFileName)
}
/////////////////////////////////////////////////////////////////////////////////////////
+// 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
// lparam = (DB::EventInfo*)dbei - event