summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-29 17:52:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-29 17:52:32 +0300
commit89a9193b6c6a8f87314634618b6893c8b62473aa (patch)
treea7624df37b12b878a4f525e3ad8fb8a3e051ddb4
parenta376da4d967a5ed6501a9e4cd639b3ba7ab69a67 (diff)
Srmm_* internal functions strangely went to group chat API...
-rw-r--r--include/m_chat_int.h10
-rw-r--r--include/m_srmm_int.h18
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__