summaryrefslogtreecommitdiff
path: root/include/m_db_int.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-25 21:19:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-25 21:19:01 +0000
commit831890a8024a9519cdf725c5a098898734e54e93 (patch)
tree2a124d40ecb90fd74b331230ce966dee374719c5 /include/m_db_int.h
parentd84c40216b5e60224eb365f633b5f142d459fc9e (diff)
metacontacts in the database cache
git-svn-id: http://svn.miranda-ng.org/main/trunk@8276 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r--include/m_db_int.h6
1 files changed, 6 insertions, 0 deletions
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