* mu-msg: added MU_MSG_CONTACT_TYPE_ALL to get all contacts in a message

This commit is contained in:
djcb 2012-01-01 18:18:24 +02:00
parent 46e002a4fa
commit 0258a525f6
1 changed files with 3 additions and 0 deletions

View File

@ -419,6 +419,9 @@ enum _MuMsgContactType { /* Reply-To:? */
};
typedef guint MuMsgContactType;
/* not a 'real' contact type */
#define MU_MSG_CONTACT_TYPE_ALL (MU_MSG_CONTACT_TYPE_NUM + 1)
#define mu_msg_contact_type_is_valid(MCT)\
((MCT) < MU_MSG_CONTACT_TYPE_NUM)