diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-08 10:40:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-08 10:40:33 +0000 |
commit | e8c9fd3c802c8c2b9aa47381b1dc54c03c65b595 (patch) | |
tree | b06a843f7fc4ff65d7004e750ef846f06f2a1f33 /plugins/Clist_mw/clist.h | |
parent | ceb7bbea580d9153668d9113b6cbb24f23e49ebe (diff) |
structure copying replaced with the inheritance
git-svn-id: http://svn.miranda-ng.org/main/trunk@842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/clist.h')
-rw-r--r-- | plugins/Clist_mw/clist.h | 13 |
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);
|