summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-13 16:09:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-13 16:09:27 +0300
commit2b30685427500c9eedac4c0c4862b32af144a90c (patch)
treea34df3dd8446a4ec9cb466ddd0632b2fcbcde448 /src/mir_core
parente27e90cf6167d5d23a4458ae99479df6135a16b2 (diff)
kinda first working version of database event cursors
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/db.cpp8
-rw-r--r--src/mir_core/src/mir_core.def6
-rw-r--r--src/mir_core/src/mir_core64.def6
3 files changed, 10 insertions, 10 deletions
diff --git a/src/mir_core/src/db.cpp b/src/mir_core/src/db.cpp
index 05d775d598..50df1e3e83 100644
--- a/src/mir_core/src/db.cpp
+++ b/src/mir_core/src/db.cpp
@@ -443,14 +443,14 @@ DB::EventCursor::~EventCursor()
{
}
-MIR_CORE_DLL(DB::EventCursor*) DB::Events(MCONTACT hContact, DBEVENTINFO &dbei)
+MIR_CORE_DLL(DB::EventCursor*) DB::Events(MCONTACT hContact, MEVENT iStartEvent)
{
- return (currDb == nullptr) ? 0 : currDb->EventCursor(hContact, dbei);
+ return (currDb == nullptr) ? 0 : currDb->EventCursor(hContact, iStartEvent);
}
-MIR_CORE_DLL(DB::EventCursor*) DB::EventsRev(MCONTACT hContact, DBEVENTINFO &dbei)
+MIR_CORE_DLL(DB::EventCursor*) DB::EventsRev(MCONTACT hContact, MEVENT iStartEvent)
{
- return (currDb == nullptr) ? 0 : currDb->EventCursorRev(hContact, dbei);
+ return (currDb == nullptr) ? 0 : currDb->EventCursorRev(hContact, iStartEvent);
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def
index 36cf775073..a89c1757ff 100644
--- a/src/mir_core/src/mir_core.def
+++ b/src/mir_core/src/mir_core.def
@@ -1459,10 +1459,10 @@ XmlGetChildText @1645
?InsertNewUnknown@XMLElement@tinyxml2@@QAEPAVXMLUnknown@2@PBD@Z @1681 NONAME
??1EventCursor@DB@@UAE@XZ @1684 NONAME
??0EventCursor@DB@@QAE@ABV01@@Z @1685 NONAME
-??0EventCursor@DB@@QAE@IAAUDBEVENTINFO@@@Z @1686 NONAME
+??0EventCursor@DB@@QAE@I@Z @1686 NONAME
??_7EventCursor@DB@@6B@ @1687 NONAME
-?Events@DB@@YGPAVEventCursor@1@IAAUDBEVENTINFO@@@Z @1688 NONAME
-?EventsRev@DB@@YGPAVEventCursor@1@IAAUDBEVENTINFO@@@Z @1689 NONAME
+?Events@DB@@YGPAVEventCursor@1@II@Z @1688 NONAME
+?EventsRev@DB@@YGPAVEventCursor@1@II@Z @1689 NONAME
?begin@EventCursor@DB@@QAEIXZ @1690 NONAME
?end@EventCursor@DB@@QAEIXZ @1691 NONAME
TimeZone_GetSystemTime @1692
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def
index 73a85c2031..e98319e623 100644
--- a/src/mir_core/src/mir_core64.def
+++ b/src/mir_core/src/mir_core64.def
@@ -1459,10 +1459,10 @@ XmlGetChildText @1645
?InsertNewUnknown@XMLElement@tinyxml2@@QEAAPEAVXMLUnknown@2@PEBD@Z @1681 NONAME
??1EventCursor@DB@@UEAA@XZ @1684 NONAME
??0EventCursor@DB@@QEAA@AEBV01@@Z @1685 NONAME
-??0EventCursor@DB@@QEAA@IAEAUDBEVENTINFO@@@Z @1686 NONAME
+??0EventCursor@DB@@QEAA@I@Z @1686 NONAME
??_7EventCursor@DB@@6B@ @1687 NONAME
-?Events@DB@@YAPEAVEventCursor@1@IAEAUDBEVENTINFO@@@Z @1688 NONAME
-?EventsRev@DB@@YAPEAVEventCursor@1@IAEAUDBEVENTINFO@@@Z @1689 NONAME
+?Events@DB@@YAPEAVEventCursor@1@II@Z @1688 NONAME
+?EventsRev@DB@@YAPEAVEventCursor@1@II@Z @1689 NONAME
?begin@EventCursor@DB@@QEAAIXZ @1690 NONAME
?end@EventCursor@DB@@QEAAIXZ @1691 NONAME
TimeZone_GetSystemTime @1692