summaryrefslogtreecommitdiff
path: root/src/mir_core
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 /src/mir_core
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 'src/mir_core')
-rw-r--r--src/mir_core/db.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_core/db.cpp b/src/mir_core/db.cpp
index 1479748bf2..f1aefcecce 100644
--- a/src/mir_core/db.cpp
+++ b/src/mir_core/db.cpp
@@ -310,14 +310,14 @@ MIR_CORE_DLL(int) db_event_markRead(MCONTACT hContact, HANDLE hDbEvent)
return (currDb == NULL) ? 0 : currDb->MarkEventRead(hContact, hDbEvent);
}
-MIR_CORE_DLL(HANDLE) db_event_next(HANDLE hDbEvent)
+MIR_CORE_DLL(HANDLE) db_event_next(MCONTACT hContact, HANDLE hDbEvent)
{
- return (currDb == NULL) ? 0 : currDb->FindNextEvent(hDbEvent);
+ return (currDb == NULL) ? 0 : currDb->FindNextEvent(hContact, hDbEvent);
}
-MIR_CORE_DLL(HANDLE) db_event_prev(HANDLE hDbEvent)
+MIR_CORE_DLL(HANDLE) db_event_prev(MCONTACT hContact, HANDLE hDbEvent)
{
- return (currDb == NULL) ? 0 : currDb->FindPrevEvent(hDbEvent);
+ return (currDb == NULL) ? 0 : currDb->FindPrevEvent(hContact, hDbEvent);
}
/////////////////////////////////////////////////////////////////////////////////////////