mu: expose content id to attachment plist

This commit is contained in:
Jun Hao
2016-04-16 22:23:46 +08:00
parent c97591ea0f
commit f998a0ad1e
3 changed files with 25 additions and 2 deletions

View File

@ -114,6 +114,17 @@ char *mu_msg_part_get_filename (MuMsgPart *mpart, gboolean construct_if_needed)
G_GNUC_WARN_UNUSED_RESULT;
/**
* get appropriate content id for the mime-part
*
* @param mpart a MuMsgPart
*
* @return const content id
*/
const gchar*
mu_msg_part_get_content_id (MuMsgPart *mpart)
G_GNUC_WARN_UNUSED_RESULT;
/**
* get the text in the MuMsgPart (ie. in its GMimePart)
*