From e829ee5d835b512517e565c6b10bc11fc4469801 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Mar 2015 22:13:15 +0000 Subject: LMDB: fix for mc split/merge git-svn-id: http://svn.miranda-ng.org/main/trunk@12421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/dbintf.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'plugins/Dbx_mdb/src/dbintf.h') diff --git a/plugins/Dbx_mdb/src/dbintf.h b/plugins/Dbx_mdb/src/dbintf.h index b97df6c787..d4b8a587a5 100644 --- a/plugins/Dbx_mdb/src/dbintf.h +++ b/plugins/Dbx_mdb/src/dbintf.h @@ -117,6 +117,16 @@ struct DBCachedContact : public DBCachedContactBase DBContact dbc; }; +struct EventItem +{ + __forceinline EventItem(int _ts, DWORD _id) : + ts(_ts), eventId(_id) + {} + + int ts; + DWORD eventId; +}; + struct CDbxMdb : public MIDatabase, public MIDatabaseChecker, public MZeroedObject { CDbxMdb(const TCHAR *tszFileName, int mode); @@ -238,6 +248,7 @@ protected: int m_contactCount, m_dwMaxContactId; int WipeContactHistory(DBContact *dbc); + void GatherContactHistory(MCONTACT hContact, LIST &items); //////////////////////////////////////////////////////////////////////////// // events -- cgit v1.2.3