From 831890a8024a9519cdf725c5a098898734e54e93 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 25 Feb 2014 21:19:01 +0000 Subject: metacontacts in the database cache git-svn-id: http://svn.miranda-ng.org/main/trunk@8276 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_db_int.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/m_db_int.h b/include/m_db_int.h index f3affcb1c5..9733d0ddf5 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -50,6 +50,12 @@ struct DBCachedContact DWORD dwDriverData; char *szProto; DBCachedContactValue *first, *last; + + // metacontacts + int nSubs; // == -1 -> not a metacontact at all + MCONTACT *pSubs; + MCONTACT parentID, // == 0 -> not a subcontact + activeID; // manually chosen active sub }; interface MIDatabaseCache : public MZeroedObject -- cgit v1.2.3