From cf751286442fa9b4b4843ae1091625e6a6c7ba2d Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 19 Feb 2016 15:20:53 +0000 Subject: dbx_lmdb: fixed writing settings; CryptoProvider selector; correct transactions revert git-svn-id: http://svn.miranda-ng.org/main/trunk@16310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/dbintf.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (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 866b637786..d6751960b2 100644 --- a/plugins/Dbx_mdb/src/dbintf.h +++ b/plugins/Dbx_mdb/src/dbintf.h @@ -103,18 +103,27 @@ struct DBEvent } }; -#include - struct DBEventSortingKey { DWORD dwEventId, ts, dwContactId; }; +struct DBSettingKey +{ + DWORD dwContactID; + DWORD dwOfsModule; + char szSettingName[100]; +}; + + +#include + struct DBCachedContact : public DBCachedContactBase { void Advance(DWORD id, DBEvent &dbe); - - DBContact dbc; + void Snapshot(); + void Revert(); + DBContact dbc, tmp_dbc; }; struct EventItem -- cgit v1.2.3