X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-msg.h;h=95bfbc688c29e215f2c2b1943d69a0dd597b54da;hp=5bf42760133b3fabca0108f8e81775b3ca0767b7;hb=98936b16511d3ca4b7e0c09908eed8392c7d869e;hpb=ac50c4b59461225aa321ffadaa27be00a6402be3 diff --git a/src/modest-tny-msg.h b/src/modest-tny-msg.h index 5bf4276..95bfbc6 100644 --- a/src/modest-tny-msg.h +++ b/src/modest-tny-msg.h @@ -88,7 +88,8 @@ TnyMsg* modest_tny_msg_new (const gchar* mailto, const gchar* mailfrom, const gc * @subject: subject for the message * @html_body: body for the message in HTML * @plain_body: body for the message in plain text - * @attachments: a list of attachments (local URIs) + * @attachments: a list of attachments (mime parts) + * @attachments: a list of images (mime parts) * * create a new TnyMsg with the given parameters * @@ -97,7 +98,7 @@ TnyMsg* modest_tny_msg_new (const gchar* mailto, const gchar* mailfrom, const gc TnyMsg* modest_tny_msg_new_html_plain (const gchar* mailto, const gchar* mailfrom, const gchar *cc, const gchar *bcc, const gchar* subject, const gchar *html_body, const gchar *plain_body, - GList *attachments); + GList *attachments, GList *images); /** * modest_tny_msg_find_body_part: @@ -164,4 +165,17 @@ TnyMsg* modest_tny_msg_create_reply_msg (TnyMsg *msg, ModestTnyMsgReplyMode reply_mode); +/** + * modest_tny_msg_get_parent_unique_id + * @msg: a valid #TnyMsg instance, or %NULL + * + * gets the unique ID of the 'parent' (the original msg replied to or forward) + * + * Returns: Returns: a the parent uid, or NULL if there is none. + **/ +const gchar* modest_tny_msg_get_parent_uid (TnyMsg *msg); + + + + #endif /* __MODEST_TNY_MSG_H__ */