diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-27 13:14:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-27 13:14:43 +0000 |
commit | fb5f50bc10318b32d3d99480874813a05551d740 (patch) | |
tree | 0a15ed6ba91db7a3ceeaf01767bf2ef7e34c41dd /include/m_clistint.h | |
parent | 6524ac4e637dba2de42df5ca6eac4a9a5501a4d2 (diff) |
persistent cache, no need to call pfnGetCacheEntry each time
git-svn-id: http://svn.miranda-ng.org/main/trunk@16774 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_clistint.h')
-rw-r--r-- | include/m_clistint.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h index a4a705c368..4d30d4e23c 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -73,6 +73,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define GROUP_ALLOCATE_STEP 8
+struct ClcContact;
+struct ClcData;
+struct ClcCacheEntry;
+
struct ContactList
{
struct ClcContact** items;
@@ -113,6 +117,7 @@ struct ClcContactBase WORD iExtraImage[EXTRA_ICON_COUNT];
TCHAR szText[120-EXTRA_ICON_COUNT];
char *proto; // MS_PROTO_GETBASEPROTO
+ ClcCacheEntry *pce; // cache is persistent, contacts aren't
};
struct ClcDataBase
@@ -173,10 +178,6 @@ struct CListEvent : public CLISTEVENT, public MZeroedObject int imlIconOverlayIndex;
};
-struct ClcContact;
-struct ClcData;
-struct ClcCacheEntry;
-
struct trayIconInfo_t
{
int id;
|