diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-25 18:43:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-25 18:43:41 +0300 |
commit | 660782751cec4bd3bea4ab5b35d37dcc492708de (patch) | |
tree | 46097d288d37be73d709c16cef9e2d6ff048fc6b /plugins | |
parent | 287bb9bd30b7b6988a8a40f0a1be1ce387301de6 (diff) |
unused code removed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/IEView/src/ieview_logger.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/plugins/IEView/src/ieview_logger.cpp b/plugins/IEView/src/ieview_logger.cpp index 2437b65bf9..01abe6d3fd 100644 --- a/plugins/IEView/src/ieview_logger.cpp +++ b/plugins/IEView/src/ieview_logger.cpp @@ -105,41 +105,6 @@ public: CallService(MS_IEVIEW_EVENT, 0, (LPARAM) & event); } - void CIeviewLogWindow::LogEvents(DBEVENTINFO *dbei_s, bool bAppend) - { - if (dbei_s == nullptr) - return; - - if (!bAppend) - Clear(); - - IEVIEWEVENT event = {}; - event.hwnd = m_hwnd; - event.iType = IEE_LOG_MEM_EVENTS; - event.count = 1; - - IEVIEWEVENTDATA evData = {}; - if (dbei_s->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_s->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_s->pBlob; - evData.time = dbei_s->timestamp; - event.eventData = &evData; - event.codepage = CP_UTF8; - CallService(MS_IEVIEW_EVENT, 0, (LPARAM) & event); - } - void LogEvents(LOGINFO *pLog, bool) override { IEVIEWEVENTDATA ied = {}; |