From 4c8d19f8daa2f9b9692d5995226439b2001ad92f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 8 Feb 2014 18:13:03 +0000 Subject: low-level database access functions rewritten to MCONTACT instead of HANDLE hContact git-svn-id: http://svn.miranda-ng.org/main/trunk@8067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_tree/src/DataBase.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/Dbx_tree/src/DataBase.cpp') diff --git a/plugins/Dbx_tree/src/DataBase.cpp b/plugins/Dbx_tree/src/DataBase.cpp index 683f0b66a8..465ceae643 100644 --- a/plugins/Dbx_tree/src/DataBase.cpp +++ b/plugins/Dbx_tree/src/DataBase.cpp @@ -243,6 +243,11 @@ int CDataBase::OpenDB() *m_Entities, *m_Settings); + for (MCONTACT id = m_Entities->compFirstContact(); id != 0; id = m_Entities->compNextContact(id)) { + DBCachedContact *cc = m_cache->AddContactToCache(id); + CheckProto(cc, ""); + } + return 0; } -- cgit v1.2.3