summaryrefslogtreecommitdiff
path: root/include/m_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_system.h')
-rw-r--r--include/m_system.h4
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);