diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/MDatabaseReadonly.cpp | 5 | ||||
-rw-r--r-- | src/mir_app/src/mir_app.def | 1 | ||||
-rw-r--r-- | src/mir_app/src/mir_app64.def | 1 | ||||
-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 |
6 files changed, 14 insertions, 0 deletions
diff --git a/src/mir_app/src/MDatabaseReadonly.cpp b/src/mir_app/src/MDatabaseReadonly.cpp index 4464715ae1..96226aa709 100644 --- a/src/mir_app/src/MDatabaseReadonly.cpp +++ b/src/mir_app/src/MDatabaseReadonly.cpp @@ -76,6 +76,11 @@ BOOL MDatabaseReadonly::DeleteEvent(MCONTACT, MEVENT) return 1; } +BOOL MDatabaseReadonly::EditEvent(MCONTACT, MEVENT, DBEVENTINFO*) +{ + return 1; +} + LONG MDatabaseReadonly::GetBlobSize(MEVENT) { return 0; diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def index b9f156f89f..2a4d43f391 100644 --- a/src/mir_app/src/mir_app.def +++ b/src/mir_app/src/mir_app.def @@ -652,3 +652,4 @@ Miranda_WaitOnHandleEx @663 ??_7MDatabaseReadonly@@6B@ @685 NONAME
?GetEventById@MDatabaseReadonly@@UAGIPBD0@Z @686 NONAME
?SetEventId@MDatabaseReadonly@@UAGHPBDI0@Z @687 NONAME
+?EditEvent@MDatabaseReadonly@@UAGHIIPAUDBEVENTINFO@@@Z @688 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def index 200a31a90c..fc9155d7cb 100644 --- a/src/mir_app/src/mir_app64.def +++ b/src/mir_app/src/mir_app64.def @@ -652,3 +652,4 @@ Miranda_WaitOnHandleEx @663 ??_7MDatabaseReadonly@@6B@ @685 NONAME
?GetEventById@MDatabaseReadonly@@UEAAIPEBD0@Z @686 NONAME
?SetEventId@MDatabaseReadonly@@UEAAHPEBDI0@Z @687 NONAME
+?EditEvent@MDatabaseReadonly@@UEAAHIIPEAUDBEVENTINFO@@@Z @688 NONAME
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
|