diff options
| author | George Hazan <ghazan@miranda.im> | 2020-01-03 14:51:59 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2020-01-03 14:51:59 +0300 |
| commit | 8eeb83e00b6092a75810a852fb385ddc0ccdc419 (patch) | |
| tree | dc80c41e00bf6b9eb0b81b08869fc5899989994a /include | |
| parent | d79e8a0ecf46e860c4ae9bae0bd9ea53e6cad382 (diff) | |
Miranda_GetSystemWindow - returns a common window for creating global timers
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_system.h | 4 |
1 files changed, 4 insertions, 0 deletions
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);
|
