summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-03 11:29:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-03 11:29:13 +0000
commit8aa736c7efd509ca88679fbabb644e49f2c5ef07 (patch)
treeafe231c5d9cb348d8402a3d1a70601be4b739b58 /plugins/Db3x_mmap/src/dbintf.h
parentd49f0bbe4eb6974bac650206effa7fdf58ea970b (diff)
proper conversion of previously created metacontacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@8374 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.h')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index 6cb02f0344..6be58c9634 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -164,6 +164,14 @@ struct DBEvent
#include <poppack.h>
+struct ConvertedContact
+{
+ ConvertedContact(MCONTACT _old, MCONTACT _new) :
+ hOld(_old), hNew(_new) {}
+
+ MCONTACT hOld, hNew;
+};
+
struct CDb3Mmap : public MIDatabase, public MIDatabaseChecker, public MZeroedObject
{
CDb3Mmap(const TCHAR *tszFileName, bool bReadOnly);
@@ -292,6 +300,11 @@ protected:
int m_codePage;
////////////////////////////////////////////////////////////////////////////
+ // contacts
+
+ OBJLIST<ConvertedContact> m_contactsMap;
+
+ ////////////////////////////////////////////////////////////////////////////
// modules
HANDLE m_hModHeap;