diff options
-rw-r--r-- | include/m_chat_int.h | 10 | ||||
-rw-r--r-- | include/m_srmm_int.h | 18 |
2 files changed, 17 insertions, 11 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 194f9723c8..5a499afb18 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -377,16 +377,6 @@ EXTERN_C MIR_APP_DLL(CHAT_MANAGER*) Chat_CustomizeApi(const CHAT_MANAGER_INITDAT /////////////////////////////////////////////////////////////////////////////////////////
-// 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);
-
// updates options for all windows
EXTERN_C MIR_APP_DLL(void) Chat_UpdateOptions();
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__ |