X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-formatter.h;h=338c2a0c19f9d60ebf28e734164ccaf1e70b210a;hp=73fa4f798114f9a14aad0643fc322ef43e48c364;hb=b3189f988bc953765fd3cdb325c4dd883ac9f608;hpb=a6ae0dc956e2e6a05a842d2001ade946c2c4ea98 diff --git a/src/modest-formatter.h b/src/modest-formatter.h index 73fa4f7..338c2a0 100644 --- a/src/modest-formatter.h +++ b/src/modest-formatter.h @@ -94,6 +94,7 @@ TnyMsg * modest_formatter_cite (ModestFormatter *self, TnyMimePart *part, TnyH * @self: a #ModestFormatter * @part: a non-NULL #TnyMimePart with the body of the original message * @header: a non-NULL #TnyHeader of the original message + * @attachments: a #GList of attachments in original message * * Creates a new message with a text body made from the body of the * original message quoted. This function is locale-sensitive. @@ -109,13 +110,14 @@ TnyMsg * modest_formatter_cite (ModestFormatter *self, TnyMimePart *part, TnyH * Quoted message * ------------- * Body: - * On 1970/01/01 somemailATmodest.org wrote: + * ------ Original message ----- * > This is the body of the text + * > Attachment: file1.txt * * * Returns: a newly formatted #TnyMsg or NULL in case of error **/ -TnyMsg * modest_formatter_quote (ModestFormatter *self, TnyMimePart *part, TnyHeader *header); +TnyMsg * modest_formatter_quote (ModestFormatter *self, TnyMimePart *part, TnyHeader *header, GList *attachments); /** @@ -123,6 +125,7 @@ TnyMsg * modest_formatter_quote (ModestFormatter *self, TnyMimePart *part, TnyH * @self: a #ModestFormatter * @part: a non-NULL #TnyMimePart with the body of the original message * @header: a non-NULL #TnyHeader of the original message + * @attachments: a #GList of attachments * * Creates a new message with a text body made from the body of the * original message inlined ready to be forwarded. This function is @@ -152,7 +155,7 @@ TnyMsg * modest_formatter_quote (ModestFormatter *self, TnyMimePart *part, TnyH * * Returns: a newly formatted #TnyMsg or NULL in case of error **/ -TnyMsg * modest_formatter_inline (ModestFormatter *self, TnyMimePart *part, TnyHeader *header, gboolean has_attachments); +TnyMsg * modest_formatter_inline (ModestFormatter *self, TnyMimePart *part, TnyHeader *header, GList *attachments); /** * modest_formatter_attach: @@ -164,7 +167,7 @@ TnyMsg * modest_formatter_inline (ModestFormatter *self, TnyMimePart *part, TnyH * * Returns: a newly formatted #TnyMsg or NULL in case of error **/ -TnyMsg * modest_formatter_attach (ModestFormatter *self, TnyMimePart *part, TnyHeader *header); +TnyMsg * modest_formatter_attach (ModestFormatter *self, TnyMsg *msg, TnyHeader *header); /** * modest_formatter_create_message: