From 5565e5b9839eea8a57e9c46f87e611dd546c8b46 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 7 Apr 2018 18:44:31 +0300 Subject: status caching moved from MenuItem to PROTOACCOUNT - this is very effective --- include/m_clistint.h | 1 - include/m_protocols.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_clistint.h b/include/m_clistint.h index 594fa70546..5b98e79ca8 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -192,7 +192,6 @@ struct MenuProto ptrA szProto; HGENMENU pMenu; HICON hIcon; - int iStatus; }; ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/include/m_protocols.h b/include/m_protocols.h index 7ae638bf58..884ca2c5c3 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -279,6 +279,7 @@ struct MIR_APP_EXPORT PROTOACCOUNT char* szUniqueId; // setting's unique id for any contact in the account int iIconBase; // index of the first icon in ClistImages + int iRealStatus; // last status reported by protocol bool IsEnabled(void) const; bool IsLocked(void) const; -- cgit v1.2.3