diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-03 22:35:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-03 22:35:20 +0300 |
commit | a4549ec2b353a0995bcfba17b7d42c047e7c8ee8 (patch) | |
tree | 061300126750e4865ef0bb5b48ddab4bc43d0416 /include | |
parent | 0fae00f05addee2e71081038b6700aa5eaeaf20b (diff) |
fixes #1401 (fixes inactive session detection)
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index c50ffbd692..5ad09897a2 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -259,6 +259,7 @@ struct CHAT_MANAGER void (*SetActiveSession)(SESSION_INFO *si);
SESSION_INFO* (*GetActiveSession)(void);
+
SESSION_INFO* (*SM_FindSession)(const wchar_t *pszID, const char *pszModule);
HICON (*SM_GetStatusIcon)(SESSION_INFO *si, USERINFO * ui);
BOOL (*SM_PostMessage)(const wchar_t *pszID, const char *pszModule, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -448,6 +449,7 @@ public: virtual void AddLog();
virtual void CloseTab() {}
+ virtual bool IsActive() const PURE;
virtual void LoadSettings() PURE;
virtual void RedrawLog() {}
virtual void ScrollToBottom() {}
|