summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-14 18:48:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-14 18:48:50 +0300
commit357bb36c10405e7571f9ebd41d8e11837ebd6175 (patch)
treea1cd0dabe39ce913f7bf3356e47fc1d18363940e /include
parentf12d6a4000cfce521392200635d1cadc63dba934 (diff)
duplicate code removed
Diffstat (limited to 'include')
-rw-r--r--include/m_database.h3
-rw-r--r--include/m_srmm_int.h2
2 files changed, 4 insertions, 1 deletions
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;