summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-12 13:40:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-12 13:40:35 +0000
commit8d371aa2b1fa5a7bfe835dee9b60d1407b33047b (patch)
tree66de3db76891d5676ce504d84b844e7912caa144 /include
parent19862a932141daf02cb0ab5cae0f1222315ff49d (diff)
db_event_next/db_event_prev: first parameter hContact added
git-svn-id: http://svn.miranda-ng.org/main/trunk@8576 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_core.inc4
-rw-r--r--include/delphi/m_db_int.inc4
-rw-r--r--include/m_core.h4
-rw-r--r--include/m_db_int.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 84f55d74b5..be65468933 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -229,7 +229,7 @@ Retrieves a handle to the next event in a chain after hDbEvent
Returns the handle, or NULL if hDbEvent is invalid or is the last event
Events in a chain are sorted chronologically automatically
}
-function db_event_next(hDbEvent:THANDLE):THANDLE; stdcall;
+function db_event_next(hContact:TMCONTACT; hDbEvent:THANDLE):THANDLE; stdcall;
external CoreDLL name 'db_event_next';
{
@@ -237,7 +237,7 @@ Retrieves a handle to the previous event in a chain before hDbEvent
Returns the handle, or NULL if hDbEvent is invalid or is the first event
Events in a chain are sorted chronologically automatically
}
-function db_event_prev(hDbEvent:THANDLE):THANDLE; stdcall;
+function db_event_prev(hContact:TMCONTACT; hDbEvent:THANDLE):THANDLE; stdcall;
external CoreDLL name 'db_event_prev';
function db_free(dbv:PDBVARIANT):int_ptr; stdcall;
diff --git a/include/delphi/m_db_int.inc b/include/delphi/m_db_int.inc
index d068fa1a3d..ce63a3afdd 100644
--- a/include/delphi/m_db_int.inc
+++ b/include/delphi/m_db_int.inc
@@ -92,8 +92,8 @@ type
FindFirstEvent:function(contactID:TMCONTACT):THANDLE; stdcall;
FindFirstUnreadEvent:function(contactID:TMCONTACT):THANDLE; stdcall;
FindLastEvent:function(contactID:TMCONTACT):THANDLE; stdcall;
- FindNextEvent:function(hDbEvent:THANDLE):THANDLE; stdcall;
- FindPrevEvent:function(hDbEvent:THANDLE):THANDLE; stdcall;
+ FindNextEvent:function(contactID:TMCONTACT; hDbEvent:THANDLE):THANDLE; stdcall;
+ FindPrevEvent:function(contactID:TMCONTACT; hDbEvent:THANDLE):THANDLE; stdcall;
EnumModuleNames:function(pFunc:TDBMODULEENUMPROC; pParam:pointer):bool; stdcall;
diff --git a/include/m_core.h b/include/m_core.h
index 921b87b2ce..59a77f57b0 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -273,7 +273,7 @@ Returns the handle, or NULL if hDbEvent is invalid or is the last event
Events in a chain are sorted chronologically automatically
*/
-MIR_CORE_DLL(HANDLE) db_event_next(HANDLE hDbEvent);
+MIR_CORE_DLL(HANDLE) db_event_next(MCONTACT hContact, HANDLE hDbEvent);
/*
Retrieves a handle to the previous event in a chain before hDbEvent
@@ -281,7 +281,7 @@ Returns the handle, or NULL if hDbEvent is invalid or is the first event
Events in a chain are sorted chronologically automatically
*/
-MIR_CORE_DLL(HANDLE) db_event_prev(HANDLE hDbEvent);
+MIR_CORE_DLL(HANDLE) db_event_prev(MCONTACT hContact, HANDLE hDbEvent);
/******************************************************************************
* DATABASE SETTINGS
diff --git a/include/m_db_int.h b/include/m_db_int.h
index df07a68da8..4763d2bec8 100644
--- a/include/m_db_int.h
+++ b/include/m_db_int.h
@@ -99,8 +99,8 @@ interface MIDatabase
STDMETHOD_(HANDLE, FindFirstEvent)(MCONTACT contactID) PURE;
STDMETHOD_(HANDLE, FindFirstUnreadEvent)(MCONTACT contactID) PURE;
STDMETHOD_(HANDLE, FindLastEvent)(MCONTACT contactID) PURE;
- STDMETHOD_(HANDLE, FindNextEvent)(HANDLE hDbEvent) PURE;
- STDMETHOD_(HANDLE, FindPrevEvent)(HANDLE hDbEvent) PURE;
+ STDMETHOD_(HANDLE, FindNextEvent)(MCONTACT contactID, HANDLE hDbEvent) PURE;
+ STDMETHOD_(HANDLE, FindPrevEvent)(MCONTACT contactID, HANDLE hDbEvent) PURE;
STDMETHOD_(BOOL, EnumModuleNames)(DBMODULEENUMPROC pFunc, void *pParam) PURE;