summaryrefslogtreecommitdiff
path: root/include/m_utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-08-02 21:40:08 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-08-02 21:40:08 +0300
commit93545c9575e94cb9015827525a8737437f80166a (patch)
treed5bae556381df327d9e731268a11dc2fd653afb6 /include/m_utils.h
parent29b1ddd269dca4e555ebd03afc13a347618719da (diff)
fixes #3605 (NewsAggregator: при использовании встроенного журнала StdMsg или Scriver открытый из списка контактов фид пуст)
fixes #3523 (NewsAggregator и история сообщений.)
Diffstat (limited to 'include/m_utils.h')
-rw-r--r--include/m_utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/m_utils.h b/include/m_utils.h
index 1050964d93..75f5d72f45 100644
--- a/include/m_utils.h
+++ b/include/m_utils.h
@@ -460,6 +460,18 @@ EXTERN_C MIR_APP_DLL(wchar_t*) Utils_ReplaceVarsW(const wchar_t *szData, MCONTAC
#endif
/////////////////////////////////////////////////////////////////////////////////////////
+// delays execution of the required action
+
+struct MAsyncObject : public MNonCopyable
+{
+ virtual ~MAsyncObject() {}
+
+ virtual void Invoke() = 0;
+};
+
+MIR_APP_DLL(void) Utils_InvokeAsync(MAsyncObject *pObj);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// compatibility functions
#ifndef _WINDOWS