summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-21 14:56:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-21 14:56:39 +0300
commitf04b54e3fc162d475e8688784631a316f264f733 (patch)
tree5feed9526e1c2acac25942f39f68713b8ccb9d1d /include
parentec8a7614a371f41937dc1dbc2d53289e45706e3a (diff)
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clist.inc5
-rw-r--r--include/delphi/m_clistint.inc38
-rw-r--r--include/m_clistint.h3
3 files changed, 7 insertions, 39 deletions
diff --git a/include/delphi/m_clist.inc b/include/delphi/m_clist.inc
index 89eb9ebcbd..195b19fbc5 100644
--- a/include/delphi/m_clist.inc
+++ b/include/delphi/m_clist.inc
@@ -93,6 +93,11 @@ const
function Clist_GetContactDisplayName(hContact:TMCONTACT; mode:int):PWideChar; stdcall; external AppDll;
{
+ removes an event
+ }
+ function Clist_RemoveEvent(hContact:TMCONTACT;hDbEvent:TMEVENT) : integer; stdcall; external AppDll;
+
+ {
wParam : 0
lParam : 0
Affect : Toggles the show/hide status of the contact list
diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc
index cd32d0f067..fa7db4320f 100644
--- a/include/delphi/m_clistint.inc
+++ b/include/delphi/m_clistint.inc
@@ -85,44 +85,6 @@ type
(* clistmod.c *)
pfnIconFromStatusMode : function (szProto:PAnsiChar; status:int; hContact:TMCONTACT):int; cdecl;
- pfnShowHide : procedure; cdecl;
-
- (* clistsettings.c *)
- pfnCreateCacheItem : procedure; cdecl;
- pfnCheckCacheItem : procedure; cdecl;
- pfnFreeCacheItem : procedure; cdecl;
-
- pfnInvalidateDisplayNameCacheEntry : procedure; cdecl;
-
- (* clisttray.c *)
- pfnTrayIconPauseAutoHide : procedure; cdecl;
- pfnTrayIconProcessMessage : procedure; cdecl;
-
- (* clui.c *)
- pfnContactListWndProc : procedure; cdecl;
-
- pfnCluiProtocolStatusChanged : procedure; cdecl;
- pfnLoadCluiGlobalOpts : procedure; cdecl;
- pfnInvalidateRect : procedure; cdecl;
- pfnOnCreateClc : procedure; cdecl;
-
- (* contact.c *)
- pfnCompareContacts : procedure; cdecl;
- pfnSetHideOffline : procedure; cdecl;
-
- (* docking.c *)
- pfnDocking_ProcessWindowMessage : procedure; cdecl;
-
- (*************************************************************************************
- * version 2 - events processing
- *************************************************************************************)
-
- bzzz : pointer;
-
- pfnAddEvent : procedure; cdecl;
- pfnGetEvent : procedure; cdecl;
-
- pfnRemoveEvent : function (hContact:TMCONTACT; hDbEvent:TMEVENT):int; cdecl;
end;
function Clist_GetInterface : PCLIST_INTERFACE; stdcall; external AppDll;
diff --git a/include/m_clistint.h b/include/m_clistint.h
index c38a3ff812..9f9bfa4a37 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -273,6 +273,7 @@ EXTERN_C MIR_APP_DLL(int) Clist_IsHiddenMode(ClcData *dat, int status);
EXTERN_C MIR_APP_DLL(void) Clist_LoadContactTree(void);
EXTERN_C MIR_APP_DLL(void) Clist_NotifyNewContact(HWND hwnd, MCONTACT hContact);
EXTERN_C MIR_APP_DLL(void) Clist_RecalculateGroupCheckboxes(ClcData *dat);
+EXTERN_C MIR_APP_DLL(int) Clist_RemoveEvent(MCONTACT hContact, MEVENT hDbEvent);
EXTERN_C MIR_APP_DLL(ClcGroup*) Clist_RemoveItemFromGroup(HWND hwnd, ClcGroup *group, ClcContact *contact, int updateTotalCount);
EXTERN_C MIR_APP_DLL(void) Clist_SaveStateAndRebuildList(HWND hwnd, ClcData *dat);
EXTERN_C MIR_APP_DLL(void) Clist_SetGroupChildCheckboxes(ClcGroup *group, int checked);
@@ -397,7 +398,7 @@ struct CLIST_INTERFACE
CListEvent* (*pfnAddEvent)(CLISTEVENT*);
- int (*pfnRemoveEvent)(MCONTACT hContact, MEVENT hDbEvent);
+ int (*pfnFreeEvent)(CListEvent *);
int (*pfnGetImlIconIndex)(HICON hIcon);
/*************************************************************************************