diff options
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/db.cpp | 5 | ||||
-rw-r--r-- | src/mir_core/src/mir_core.def | 1 | ||||
-rw-r--r-- | src/mir_core/src/mir_core64.def | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_core/src/db.cpp b/src/mir_core/src/db.cpp index 1fae803761..87eb0ed80c 100644 --- a/src/mir_core/src/db.cpp +++ b/src/mir_core/src/db.cpp @@ -361,6 +361,11 @@ MIR_CORE_DLL(int) db_event_delete(MCONTACT hContact, MEVENT hDbEvent) return (currDb == nullptr) ? 0 : currDb->DeleteEvent(hContact, hDbEvent);
}
+MIR_CORE_DLL(int) db_event_edit(MCONTACT hContact, MEVENT hDbEvent, DBEVENTINFO *dbei)
+{
+ return (currDb == nullptr) ? 0 : currDb->EditEvent(hContact, hDbEvent, dbei);
+}
+
MIR_CORE_DLL(MEVENT) db_event_first(MCONTACT hContact)
{
return (currDb == nullptr) ? 0 : currDb->FindFirstEvent(hContact);
diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def index 968b8f764f..1b50cfafc5 100644 --- a/src/mir_core/src/mir_core.def +++ b/src/mir_core/src/mir_core.def @@ -1067,3 +1067,4 @@ CallObjectEventHook @1259 ?VerifyControls@CDlgBase@@AAE_NP8CCtrlBase@@AE_NXZ@Z @1265 NONAME
db_event_getById @1266
db_event_setId @1267
+db_event_edit @1268
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def index 17079509be..f43d9b35ed 100644 --- a/src/mir_core/src/mir_core64.def +++ b/src/mir_core/src/mir_core64.def @@ -1067,3 +1067,4 @@ CallObjectEventHook @1259 ?VerifyControls@CDlgBase@@AEAA_NP8CCtrlBase@@EAA_NXZ@Z @1265 NONAME
db_event_getById @1266
db_event_setId @1267
+db_event_edit @1268
|