summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/clist.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/clist.h')
-rw-r--r--plugins/Clist_mw/clist.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/Clist_mw/clist.h b/plugins/Clist_mw/clist.h
index 32effbad84..20c8a7ce80 100644
--- a/plugins/Clist_mw/clist.h
+++ b/plugins/Clist_mw/clist.h
@@ -31,12 +31,8 @@ void SortContacts(void);
void ChangeContactIcon(HANDLE hContact,int iIcon,int add);
int GetContactInfosForSort(HANDLE hContact,char **Proto,TCHAR **Name,int *Status);
-typedef struct {
- HANDLE hContact;
- TCHAR *name;
- char *szName;
- TCHAR* szGroup;
- int Hidden;
+struct displayNameCacheEntry : public ClcCacheEntryBase
+{
int noHiddenOffline;
char *szProto;
@@ -50,8 +46,9 @@ typedef struct {
void *ClcContact;
BYTE IsExpanded;
boolean isUnknown;
-}
- displayNameCacheEntry,*pdisplayNameCacheEntry;
+};
+
+typedef displayNameCacheEntry *pdisplayNameCacheEntry;
pdisplayNameCacheEntry GetContactFullCacheEntry(HANDLE hContact);