summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-15 19:53:52 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-15 19:53:52 +0300
commitbb8e49d3e4a63cceaa9a68ef62229d87c1792535 (patch)
tree8d78a50f3a84ec7ebff5b16086c2ea1175998b42 /include
parentf9b6402b4ea11142d078f1446bd3ca487b5df172 (diff)
fixes #3738 (CrashDumper: ошибочный показ активного журнала)
Diffstat (limited to 'include')
-rw-r--r--include/m_srmm_int.h20
1 files changed, 20 insertions, 0 deletions
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
@@ -154,6 +154,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
class MIR_APP_EXPORT CSimpleLogWindow : public CSrmmLogWindow