diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-07 18:44:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-07 18:44:31 +0300 |
commit | 5565e5b9839eea8a57e9c46f87e611dd546c8b46 (patch) | |
tree | 97156edbfa1bff3d2a8e50e8ba828aa90298eb42 /include | |
parent | 05e6fa41a1eb29e07060cc540fdde3ba58686f6c (diff) |
status caching moved from MenuItem to PROTOACCOUNT - this is very effective
Diffstat (limited to 'include')
-rw-r--r-- | include/m_clistint.h | 1 | ||||
-rw-r--r-- | include/m_protocols.h | 1 |
2 files changed, 1 insertions, 1 deletions
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;
|