From 357bb36c10405e7571f9ebd41d8e11837ebd6175 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 14 Apr 2023 18:48:50 +0300 Subject: duplicate code removed --- include/m_database.h | 3 +++ include/m_srmm_int.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_database.h b/include/m_database.h index 28e0d78c17..e927084bed 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -685,6 +685,9 @@ namespace DB __forceinline operator bool() const { return bValid; } + bool isSrmm() const; // could be displayed in a SRMM window + bool isHistory() const; // could be displayed in a history window + wchar_t* getString(const char *str) const; }; diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 9e3b8e0c7a..dc1d2303fd 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -256,7 +256,7 @@ public: virtual void AddLog(); virtual void CloseTab() {} virtual void DrawNickList(USERINFO *ui, DRAWITEMSTRUCT *dis) PURE; - virtual void EventAdded(MEVENT, const DBEVENTINFO &dbei) PURE; + virtual void EventAdded(MEVENT, const DB::EventInfo &dbei) PURE; virtual bool GetFirstEvent() PURE; virtual bool IsActive() const PURE; virtual void LoadSettings() PURE; -- cgit v1.2.3