From cdff820aeb7d935d18fb66027102f69ec96bf92c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 30 Oct 2012 20:08:15 +0000 Subject: minor clists' code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_mw/src/clc.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/Clist_mw/src/clc.h') diff --git a/plugins/Clist_mw/src/clc.h b/plugins/Clist_mw/src/clc.h index 29b7086d20..94de40448a 100644 --- a/plugins/Clist_mw/src/clc.h +++ b/plugins/Clist_mw/src/clc.h @@ -79,23 +79,23 @@ struct ClcData : public ClcDataBase }; //clcidents.c -int GetRowsPriorTo(struct ClcGroup *group,struct ClcGroup *subgroup,int contactIndex); -int FindItem(HWND hwnd,struct ClcData *dat,HANDLE hItem,struct ClcContact **contact,struct ClcGroup **subgroup,int *isVisible); -int GetRowByIndex(struct ClcData *dat,int testindex,struct ClcContact **contact,struct ClcGroup **subgroup); +int GetRowsPriorTo(ClcGroup *group,ClcGroup *subgroup,int contactIndex); +int FindItem(HWND hwnd,struct ClcData *dat,HANDLE hItem,struct ClcContact **contact,ClcGroup **subgroup,int *isVisible); +int GetRowByIndex(struct ClcData *dat,int testindex,struct ClcContact **contact,ClcGroup **subgroup); void ClearRowByIndexCache(); //clcitems.c -struct ClcGroup *AddGroup(HWND hwnd,struct ClcData *dat,const TCHAR *szName,DWORD flags,int groupId,int calcTotalMembers); -void FreeGroup(struct ClcGroup *group); -int AddInfoItemToGroup(struct ClcGroup *group,int flags,const TCHAR *pszText); +ClcGroup *AddGroup(HWND hwnd,struct ClcData *dat,const TCHAR *szName,DWORD flags,int groupId,int calcTotalMembers); +void FreeGroup(ClcGroup *group); +int AddInfoItemToGroup(ClcGroup *group,int flags,const TCHAR *pszText); void FreeContact(struct ClcContact *p); void RebuildEntireList(HWND hwnd,struct ClcData *dat); -struct ClcGroup *RemoveItemFromGroup(HWND hwnd,struct ClcGroup *group,struct ClcContact *contact,int updateTotalCount); +ClcGroup *RemoveItemFromGroup(HWND hwnd,ClcGroup *group,struct ClcContact *contact,int updateTotalCount); void DeleteItemFromTree(HWND hwnd,HANDLE hItem); void AddContactToTree(HWND hwnd,struct ClcData *dat,HANDLE hContact,int updateTotalCount,int checkHideOffline); void SortCLC(HWND hwnd,struct ClcData *dat,int useInsertionSort); -int GetGroupContentsCount(struct ClcGroup *group,int visibleOnly); -int GetNewSelection(struct ClcGroup *group,int selection, int direction); +int GetGroupContentsCount(ClcGroup *group,int visibleOnly); +int GetNewSelection(ClcGroup *group,int selection, int direction); void SaveStateAndRebuildList(HWND hwnd,struct ClcData *dat); //clcmsgs.c @@ -104,7 +104,7 @@ LRESULT ProcessExternalMessages(HWND hwnd,struct ClcData *dat,UINT msg,WPARAM wP //clcutils.c void RecalcScrollBar(HWND hwnd,struct ClcData *dat); void BeginRenameSelection(HWND hwnd,struct ClcData *dat); -int HitTest(HWND hwnd,struct ClcData *dat,int testx,int testy,struct ClcContact **contact,struct ClcGroup **group,DWORD *flags); +int HitTest(HWND hwnd,struct ClcData *dat,int testx,int testy,struct ClcContact **contact,ClcGroup **group,DWORD *flags); void ScrollTo(HWND hwnd,struct ClcData *dat,int desty,int noSmooth); void LoadClcOptions(HWND hwnd,struct ClcData *dat); -- cgit v1.2.3