summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-19 15:34:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-19 15:34:32 +0300
commit77ea5b95cd68a295068394e9d0c505f0b26221ba (patch)
tree5b3dca3184ba08a040df418bd638efbe8a9ed7c2 /src/mir_app
parent8dd934a1e0e80b1c14194195f4664bc9a6e685cc (diff)
GetEventById & SetEventId - two new methods to operate with events by their server ids
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/MDatabaseReadonly.cpp12
-rw-r--r--src/mir_app/src/mir_app.def2
-rw-r--r--src/mir_app/src/mir_app64.def2
3 files changed, 16 insertions, 0 deletions
diff --git a/src/mir_app/src/MDatabaseReadonly.cpp b/src/mir_app/src/MDatabaseReadonly.cpp
index 7a75f0a9d3..4464715ae1 100644
--- a/src/mir_app/src/MDatabaseReadonly.cpp
+++ b/src/mir_app/src/MDatabaseReadonly.cpp
@@ -129,3 +129,15 @@ BOOL MDatabaseReadonly::MetaSplitHistory(DBCachedContact*, DBCachedContact*)
{
return 1;
}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
+MEVENT MDatabaseReadonly::GetEventById(LPCSTR, LPCSTR)
+{
+ return 0;
+}
+
+BOOL MDatabaseReadonly::SetEventId(LPCSTR, MEVENT, LPCSTR)
+{
+ return FALSE;
+}
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index a2ee225220..bbf32ae9ce 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -650,3 +650,5 @@ Miranda_WaitOnHandleEx @663
?WriteContactSetting@MDatabaseReadonly@@UAGHIPAUDBCONTACTWRITESETTING@@@Z @683 NONAME
??0MDatabaseReadonly@@QAE@XZ @684 NONAME
??_7MDatabaseReadonly@@6B@ @685 NONAME
+?GetEventById@MDatabaseReadonly@@UAGIPBD0@Z @686 NONAME
+?SetEventId@MDatabaseReadonly@@UAGHPBDI0@Z @687 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index de3b993d81..e57021e5ed 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -650,3 +650,5 @@ Miranda_WaitOnHandleEx @663
?WriteContactSetting@MDatabaseReadonly@@UEAAHIPEAUDBCONTACTWRITESETTING@@@Z @683 NONAME
??0MDatabaseReadonly@@QEAA@XZ @684 NONAME
??_7MDatabaseReadonly@@6B@ @685 NONAME
+?GetEventById@MDatabaseReadonly@@UEAAIPEBD0@Z @686 NONAME
+?SetEventId@MDatabaseReadonly@@UEAAHPEBDI0@Z @687 NONAME