summaryrefslogtreecommitdiff
path: root/include/m_srmm_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_srmm_int.h')
-rw-r--r--include/m_srmm_int.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h
index d889f2f166..f52279445d 100644
--- a/include/m_srmm_int.h
+++ b/include/m_srmm_int.h
@@ -254,7 +254,7 @@ public:
__forceinline SESSION_INFO *getChat() const { return m_si; }
__forceinline CSrmmLogWindow *log() const { return m_pLog; }
- __inline void *operator new(size_t size) { return calloc(1, size); }
+ __inline void* operator new(size_t size) { return calloc(1, size); }
__inline void operator delete(void *p) { free(p); }
};
@@ -262,4 +262,20 @@ public:
class CMsgDialog : public CSrmmBaseDialog {};
#endif
+/////////////////////////////////////////////////////////////////////////////////////////
+// receives LOGSTREAMDATA* as the first parameter
+
+EXTERN_C MIR_APP_DLL(DWORD) CALLBACK Srmm_LogStreamCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb);
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// sends a message to all SRMM windows
+
+EXTERN_C MIR_APP_DLL(void) Srmm_Broadcast(UINT, WPARAM, LPARAM);
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// finds a SRMM window using hContact
+
+EXTERN_C MIR_APP_DLL(HWND) Srmm_FindWindow(MCONTACT hContact);
+EXTERN_C MIR_APP_DLL(CMsgDialog*) Srmm_FindDialog(MCONTACT hContact);
+
#endif // M_MESSAGE_H__