From dcab83811dfb2d8f2a64c606995cd8ca35c1f6bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 28 May 2016 12:41:49 +0000 Subject: 2 static functions removed from CLIST_INTERFACE. git-svn-id: http://svn.miranda-ng.org/main/trunk@16881 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_clistint.h | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'include/m_clistint.h') diff --git a/include/m_clistint.h b/include/m_clistint.h index d47aa89473..a0bf3d9f70 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -104,7 +104,7 @@ struct ClcContactBase BYTE flags; union { struct { - int iImage; + int iImage; MCONTACT hContact; }; struct { @@ -152,7 +152,7 @@ struct ClcDataBase : public MZeroedObject DWORD exStyle; POINT ptInfoTip; int infoTipTimeout; - HANDLE hInfoTipItem; + DWORD hInfoTipItem; HIMAGELIST himlExtraColumns; int extraColumnsCount; int extraColumnSpacing; @@ -185,15 +185,15 @@ struct trayIconInfo_t TCHAR* ptszToolTip; }; -typedef struct _menuProto +struct MenuProto { char *szProto; //This is DLL-based unique name HGENMENU pMenu; HICON hIcon; -} - MenuProto; +}; -/* constants */ +///////////////////////////////////////////////////////////////////////////////////////// +// constants #define DRAGSTAGE_NOTMOVED 0 #define DRAGSTAGE_ACTIVE 1 @@ -241,9 +241,14 @@ typedef struct _menuProto #define TIM_CALLBACK (WM_USER+1857) #define TIM_CREATE (WM_USER+1858) -/*************************************************************************** - * CLIST_INTERFACE structure definition - ***************************************************************************/ +///////////////////////////////////////////////////////////////////////////////////////// +// functions + +EXTERN_C MIR_APP_DLL(DWORD) Clist_ContactToHItem(ClcContact *contact); +EXTERN_C MIR_APP_DLL(HANDLE) Clist_ContactToItemHandle(ClcContact *contact, DWORD *nmFlags); + +///////////////////////////////////////////////////////////////////////////////////////// +// CLIST_INTERFACE structure definition struct ClcProtoStatus { @@ -285,8 +290,8 @@ struct CLIST_INTERFACE int (*pfnGetRowsPriorTo)(ClcGroup *group, ClcGroup *subgroup, int contactIndex); int (*pfnFindItem)(HWND hwnd, struct ClcData *dat, DWORD dwItem, ClcContact **contact, ClcGroup **subgroup, int *isVisible); int (*pfnGetRowByIndex)(struct ClcData *dat, int testindex, ClcContact **contact, ClcGroup **subgroup); - HANDLE (*pfnContactToHItem)(ClcContact *contact); - HANDLE (*pfnContactToItemHandle)(ClcContact *contact, DWORD *nmFlags); + HANDLE (*unused1)(ClcContact *contact); + HANDLE (*unused2)(ClcContact *contact, DWORD *nmFlags); /* clcitems.c */ ClcContact* (*pfnCreateClcContact)(void); -- cgit v1.2.3