diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-30 20:46:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-30 20:46:01 +0000 |
commit | 06a79b9469f4d187132cd148411d9b92c7e35e6f (patch) | |
tree | bb9ee9b9daf2016ecc97d9af8b575cd32b8574da /plugins/Clist_mw/src/init.cpp | |
parent | 0edc13560169b35dc38e2923f0d240531221cd03 (diff) |
fix for that hell with ClcCacheEntryBase
git-svn-id: http://svn.miranda-ng.org/main/trunk@2120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/init.cpp')
-rw-r--r-- | plugins/Clist_mw/src/init.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_mw/src/init.cpp b/plugins/Clist_mw/src/init.cpp index ea29d0d419..b6d6c80c77 100644 --- a/plugins/Clist_mw/src/init.cpp +++ b/plugins/Clist_mw/src/init.cpp @@ -32,10 +32,10 @@ static HANDLE hCListShutdown = 0; HMENU BuildGroupPopupMenu( ClcGroup* group );
void CalcEipPosition( struct ClcData *dat, struct ClcContact *contact, ClcGroup *group, POINT *result);
-void CheckPDNCE(ClcCacheEntryBase*);
+void CheckPDNCE(ClcCacheEntry*);
void CluiProtocolStatusChanged( int, const char* );
int CompareContacts( const struct ClcContact *contact1, const struct ClcContact *contact2 );
-void FreeDisplayNameCacheItem(ClcCacheEntryBase*);
+void FreeDisplayNameCacheItem(ClcCacheEntry*);
void GetDefaultFontSetting(int i,LOGFONT *lf,COLORREF *colour);
void RebuildEntireList(HWND hwnd,struct ClcData *dat);
void RecalcScrollBar(HWND hwnd,struct ClcData *dat);
@@ -139,12 +139,12 @@ static struct ClcContact* fnCreateClcContact( void ) return (struct ClcContact*)mir_calloc( sizeof( struct ClcContact ));
}
-static ClcCacheEntryBase* fnCreateCacheItem( HANDLE hContact )
+static pClcCacheEntry fnCreateCacheItem( HANDLE hContact )
{
- pdisplayNameCacheEntry p = (pdisplayNameCacheEntry)mir_calloc( sizeof( displayNameCacheEntry ));
+ pClcCacheEntry p = (pClcCacheEntry)mir_calloc( sizeof( ClcCacheEntry ));
if ( p )
p->hContact = hContact;
- return (ClcCacheEntryBase*)p;
+ return p;
}
extern "C" int __declspec(dllexport) CListInitialise()
|