From bb8e49d3e4a63cceaa9a68ef62229d87c1792535 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Oct 2023 19:53:52 +0300 Subject: =?UTF-8?q?fixes=20#3738=20(CrashDumper:=20=D0=BE=D1=88=D0=B8?= =?UTF-8?q?=D0=B1=D0=BE=D1=87=D0=BD=D1=8B=D0=B9=20=D0=BF=D0=BE=D0=BA=D0=B0?= =?UTF-8?q?=D0=B7=20=D0=B0=D0=BA=D1=82=D0=B8=D0=B2=D0=BD=D0=BE=D0=B3=D0=BE?= =?UTF-8?q?=20=D0=B6=D1=83=D1=80=D0=BD=D0=B0=D0=BB=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_srmm_int.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'include') diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 5e11a4b95a..4be18ba906 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -153,6 +153,26 @@ MIR_APP_DLL(void) UnregisterSrmmLog(HANDLE); MIR_APP_DLL(bool) Srmm_IsCustomLogUsed(); +///////////////////////////////////////////////////////////////////////////////////////// +// SRMM log window class + +struct SrmmLogWindowClass +{ + SrmmLogWindowClass(CMPlugin *p1, const char *p2, const wchar_t *p3, pfnSrmmLogCreator p4) : + pPlugin(p1), + szShortName(mir_strdup(p2)), + wszScreenName(mir_wstrdup(p3)), + pfnBuilder(p4) + {} + + CMPlugin *pPlugin; + ptrA szShortName; + ptrW wszScreenName; + pfnSrmmLogCreator pfnBuilder; +}; + +MIR_APP_DLL(SrmmLogWindowClass *) Srmm_GetWindowClass(CMsgDialog *pDlg); + ///////////////////////////////////////////////////////////////////////////////////////// // Simple single-event based logger -- cgit v1.2.3