summaryrefslogtreecommitdiff
path: root/include/m_db_int.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:43 +0000
commit8d2b4094f891d20381f65e3180b2b053830f3050 (patch)
tree04cb5010af323b37ec67b75fadbeb34ff9c28d9a /include/m_db_int.h
parentad0169e0110232390474d23274bdc5dc2d385a9a (diff)
- unused options removed
- duplicated events in history fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@8504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r--include/m_db_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h
index 4848bad326..59a555e720 100644
--- a/include/m_db_int.h
+++ b/include/m_db_int.h
@@ -56,6 +56,9 @@ struct DBCachedContact
MCONTACT *pSubs;
MCONTACT parentID; // == 0 -> not a subcontact
int nDefault; // default sub number
+
+ __forceinline bool IsMeta() const { return nSubs != -1; }
+ __forceinline bool IsSub() const { return parentID != 0; }
};
interface MIDatabaseCache : public MZeroedObject