X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-msg-actions.h;h=b3894837243e73428214227bdb3f8e370998bdee;hp=7637eb6dc287a094a81d3c8b8c578cd5d816ede5;hb=2296e765df1629bfad48508d3a12274fa77b73a7;hpb=3e7206e4700d2bb49daa3b11c9b87be9f8014665 diff --git a/src/modest-tny-msg-actions.h b/src/modest-tny-msg-actions.h index 7637eb6..b389483 100644 --- a/src/modest-tny-msg-actions.h +++ b/src/modest-tny-msg-actions.h @@ -24,20 +24,19 @@ gchar *modest_tny_msg_actions_quote (const TnyMsgIface * self, const gchar * from, time_t sent_date, - gint limit, gchar *to_quote); + gint limit, const gchar *to_quote); /** * modest_tny_msg_actions_find_body_part: * @self: a message - * @mime_type: the mime type to find + * @want_html: prefer HTML-part when there are multiple body parts? * - * search a message for a body part of type @mime_type. @mime_type is a string - * like "text/plain". + * search a message for a body part * * Returns: the TnyMsgMimePartIface for the found part, or NULL if no matching part is found */ TnyMsgMimePartIface *modest_tny_msg_actions_find_body_part (TnyMsgIface * self, - const gchar * mime_type); + gboolean want_html); #endif /* __MODEST_TNY_MSG_ACTIONS_H__ */