X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-msg-actions.h;h=8e43fade1d3b238b50b6e0fec8f4cb809e0bc704;hp=ce0c62c336d9e627417470eda33d4c61087e614e;hb=29f871b2e8ae1e859919c5682f69ef8238ffaae4;hpb=3084439a659fa9aec750337f94cad4bca0c92898 diff --git a/src/modest-tny-msg-actions.h b/src/modest-tny-msg-actions.h index ce0c62c..8e43fad 100644 --- a/src/modest-tny-msg-actions.h +++ b/src/modest-tny-msg-actions.h @@ -50,11 +50,22 @@ TnyMimePart *modest_tny_msg_actions_find_body_part (TnyMsg * self, gboolean want * * search for the nth (mime) part in the message * - * Returns: the TnyMsgMimePart for the found part, or NULL if no matching part is foundi; must be unref'd + * Returns: the TnyMsgMimePart for the found part, or NULL if no + * matching part is foundi; must be unref'd */ TnyMimePart* modest_tny_msg_actions_find_nth_part (TnyMsg *msg, gint index); +/** + * modest_tny_msg_actions_find_body: + * @self: + * @want_html: + * + * gets the body of a message as text, if @want_html is true, try HTML mail + * first. + * + * Returns: the body of the message as text + **/ gchar* modest_tny_msg_actions_find_body (TnyMsg *self, gboolean want_html); #endif /* __MODEST_TNY_MSG_ACTIONS_H__ */