X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-formatter.h;h=15c00ed3c6a4f196fed05ce5bf984a941a3eed5d;hp=338c2a0c19f9d60ebf28e734164ccaf1e70b210a;hb=a1d576310d8fd6c92053672e0f7d8c69e416807d;hpb=b3189f988bc953765fd3cdb325c4dd883ac9f608 diff --git a/src/modest-formatter.h b/src/modest-formatter.h index 338c2a0..15c00ed 100644 --- a/src/modest-formatter.h +++ b/src/modest-formatter.h @@ -174,6 +174,7 @@ TnyMsg * modest_formatter_attach (ModestFormatter *self, TnyMsg *msg, TnyHeader * @self: a #ModestFormatter * @single_body: a #gboolean * @has_attachments: a #gboolean + * @has_images: a #gboolean * * Creates an empty #TnyMsg with the expected parts for Modest * formatters and body embedders. @@ -186,8 +187,12 @@ TnyMsg * modest_formatter_attach (ModestFormatter *self, TnyMsg *msg, TnyHeader * If @single_body is %TRUE, the body will be stored as a * "multipart/alternative", and the parts will be the different * alternatives. If %FALSE, this body will be stored directly. + * + * If @has_images is %TRUE, the body will be embedded in a + * multipart/related, that will also host attached images. */ -TnyMsg * modest_formatter_create_message (ModestFormatter *self, gboolean single_body, gboolean has_attachments); +TnyMsg * modest_formatter_create_message (ModestFormatter *self, gboolean single_body, + gboolean has_attachments, gboolean has_images); /** * modest_formatter_create_body_part: