From 9af11cd3eecbfb6e524623b6304fcacfe77bbfff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jul 2016 07:42:30 +0000 Subject: non-redefined function pfnClcBroadcast made static -> Clist_Broadcast also its async variant created and published as Clist_BroadcastAsync git-svn-id: http://svn.miranda-ng.org/main/trunk@17108 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_clistint.inc | 4 ++-- include/m_clistint.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc index c17aa1a0ee..3b40b71055 100644 --- a/include/delphi/m_clistint.inc +++ b/include/delphi/m_clistint.inc @@ -305,8 +305,8 @@ type clcProto : PClcProtoStatus; (* clc.h *) - pfnClcOptionsChanged : procedure ;cdecl; - pfnClcBroadcast : procedure (_para1:int; _para2:WPARAM; _para3:LPARAM); cdecl; + pfnClcOptionsChanged : procedure; cdecl; + unused3 : procedure; cdecl; pfnBuildGroupPopupMenu : function (_para1:PClcGroup):HMENU; cdecl; pfnContactListControlWndProc:function(hwnd:HWND; msg:uint; wParam:WPARAM; lParam:LPARAM):LRESULT; stdcall; diff --git a/include/m_clistint.h b/include/m_clistint.h index 1ff9fc07b2..0557703c01 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -247,6 +247,9 @@ struct MenuProto EXTERN_C MIR_APP_DLL(DWORD) Clist_ContactToHItem(ClcContact *contact); EXTERN_C MIR_APP_DLL(HANDLE) Clist_ContactToItemHandle(ClcContact *contact, DWORD *nmFlags); +EXTERN_C MIR_APP_DLL(void) Clist_Broadcast(int msg, WPARAM wParam, LPARAM lParam); +EXTERN_C MIR_APP_DLL(void) Clist_BroadcastAsync(int msg, WPARAM wParam, LPARAM lParam); + ///////////////////////////////////////////////////////////////////////////////////////// // CLIST_INTERFACE structure definition @@ -277,7 +280,7 @@ struct CLIST_INTERFACE /* clc.h */ void (*pfnClcOptionsChanged)(void); - void (*pfnClcBroadcast)(int, WPARAM, LPARAM); + void (*pfnUnused1)(); HMENU (*pfnBuildGroupPopupMenu)(struct ClcGroup*); // unused LRESULT (CALLBACK *pfnContactListControlWndProc)(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); -- cgit v1.2.3