From 95b66d773710bfdc4784ebac07bbb86868fdea8a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Sep 2018 17:27:04 +0300 Subject: db_event_edit - new stub for editing messages --- src/mir_core/src/db.cpp | 5 +++++ src/mir_core/src/mir_core.def | 1 + src/mir_core/src/mir_core64.def | 1 + 3 files changed, 7 insertions(+) (limited to 'src/mir_core') 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 -- cgit v1.2.3