diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_db_int.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h index 95cd993878..3989424c40 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -52,10 +52,10 @@ struct DBCachedContact DBCachedContactValue *first, *last;
// metacontacts
- int nSubs; // == -1 -> not a metacontact at all
+ int nSubs; // == -1 -> not a metacontact
MCONTACT *pSubs;
- MCONTACT parentID, // == 0 -> not a subcontact
- activeID; // manually chosen active sub
+ MCONTACT parentID; // == 0 -> not a subcontact
+ int nDefault; // default sub number
};
interface MIDatabaseCache : public MZeroedObject
@@ -113,6 +113,7 @@ interface MIDatabase STDMETHOD_(BOOL, IsSettingEncrypted)(LPCSTR szModule, LPCSTR szSetting) PURE;
STDMETHOD_(BOOL, MetaDetouchSub)(DBCachedContact*, int nSub) PURE;
+ STDMETHOD_(BOOL, MetaSetDefault)(DBCachedContact*) PURE;
};
///////////////////////////////////////////////////////////////////////////////
|