summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-04-25 17:41:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-04-25 17:41:18 +0300
commit147122758513993f4fd8bdc6c341f21d9d8beaca (patch)
treea746df62ac84acf23b375bda9ab6d5a9fc66199b /src
parent7378dd16f14d3f9f34cde4a18859d406cd303a22 (diff)
CLogWindow::LogEvents considered useless and localized inside tabSRMM
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/srmm_log_hpp.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/mir_app/src/srmm_log_hpp.cpp b/src/mir_app/src/srmm_log_hpp.cpp
index dff4dff626..2a6be38bab 100644
--- a/src/mir_app/src/srmm_log_hpp.cpp
+++ b/src/mir_app/src/srmm_log_hpp.cpp
@@ -109,38 +109,6 @@ public:
CallService(MS_HPP_EG_EVENT, 0, (LPARAM)&event);
}
- void LogEvents(DBEVENTINFO *dbei, bool bAppend) override
- {
- if (!bAppend)
- Clear();
-
- IEVIEWEVENT event = {};
- event.hwnd = m_hwnd;
- event.iType = IEE_LOG_MEM_EVENTS;
-
- IEVIEWEVENTDATA evData = {};
- if (dbei->flags & DBEF_SENT) {
- evData.dwFlags = IEEDF_SENT;
- evData.bIsMe = true;
- }
- else {
- evData.dwFlags = IEEDF_UNICODE_NICK;
- evData.szNick.w = Clist_GetContactDisplayName(m_pDlg.m_hContact);
- }
- switch (dbei->eventType) {
- case EVENTTYPE_STATUSCHANGE: evData.iType = IEED_EVENT_STATUSCHANGE; break;
- case EVENTTYPE_FILE: evData.iType = IEED_EVENT_FILE; break;
- case EVENTTYPE_ERRMSG: evData.iType = IEED_EVENT_ERRMSG; break;
- default: evData.iType = IEED_EVENT_MESSAGE; break;
- }
- evData.szText.a = (char *)dbei->pBlob;
- evData.time = dbei->timestamp;
- event.eventData = &evData;
- event.codepage = CP_UTF8;
- event.count = 1;
- CallService(MS_HPP_EG_EVENT, 0, (LPARAM)&event);
- }
-
void CHppLogWindow::LogEvents(LOGINFO *pLog, bool)
{
IEVIEWEVENTDATA ied = {};