From 8eeb83e00b6092a75810a852fb385ddc0ccdc419 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Jan 2020 14:51:59 +0300 Subject: Miranda_GetSystemWindow - returns a common window for creating global timers --- include/m_system.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/m_system.h b/include/m_system.h index bb09588421..0361d86c7e 100644 --- a/include/m_system.h +++ b/include/m_system.h @@ -89,6 +89,10 @@ EXTERN_C MIR_APP_DLL(void) Miranda_GetFileVersion(MFileVersion*); // returns 0 on success, nonzero on failure EXTERN_C MIR_APP_DLL(void) Miranda_GetVersionText(char *pDest, size_t cbSize); +// returns a system window that can handle global timers +// a usual practice is to use a unique pointer as a timer id +EXTERN_C MIR_APP_DLL(class CDlgBase *) Miranda_GetSystemWindow(); + // Adds an event to the list to be checked in the main message loop // when a handle gets triggered, an appopriate stub gets called typedef void (CALLBACK *MWaitableStub)(void); -- cgit v1.2.3