X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-msg-actions.h;h=ce0c62c336d9e627417470eda33d4c61087e614e;hp=cc62fb8353d4ac8defb207602e3d754af6d5a69e;hb=3084439a659fa9aec750337f94cad4bca0c92898;hpb=e010a0ade7cf553914b9288887b622e20cf8a882 diff --git a/src/modest-tny-msg-actions.h b/src/modest-tny-msg-actions.h index cc62fb8..ce0c62c 100644 --- a/src/modest-tny-msg-actions.h +++ b/src/modest-tny-msg-actions.h @@ -30,28 +30,6 @@ #ifndef __MODEST_TNY_MSG_ACTIONS_H__ #define __MODEST_TNY_MSG_ACTIONS_H__ -/* public */ - -/** - * modest_tny_msg_actions_quote: - * @self: the message to quote - * @from: the original sender of the message - * @sent_date: the date the original message was sent - * @limit: characters per line limit for the quoted message - * @to_quote: a string to quote instead of the message body - * - * reply-quotes a message or @to_quote if it's not NULL. - - * Note: @from and @sent_date may be eliminated from the API in future versions - * - * Returns: a newly allocated string containing the quoted message - */ -gchar *modest_tny_msg_actions_quote (const TnyMsgIface * self, - const gchar * from, - time_t sent_date, - gint limit, - const gchar *to_quote); - /** * modest_tny_msg_actions_find_body_part: * @self: a message @@ -60,10 +38,9 @@ gchar *modest_tny_msg_actions_quote (const TnyMsgIface * self, * search a message for the body part. if @want_html is true, try HTML mail * first. * - * Returns: the TnyMsgMimePartIface for the found part, or NULL if no matching part is found + * Returns: the TnyMsgMimePart for the found part, or NULL if no matching part is found */ -TnyMsgMimePartIface *modest_tny_msg_actions_find_body_part (const TnyMsgIface * self, - gboolean want_html); +TnyMimePart *modest_tny_msg_actions_find_body_part (TnyMsg * self, gboolean want_html); /** @@ -73,10 +50,11 @@ TnyMsgMimePartIface *modest_tny_msg_actions_find_body_part (const TnyMsgIface * * * search for the nth (mime) part in the message * - * Returns: the TnyMsgMimePartIface for the found part, or NULL if no matching part is found + * Returns: the TnyMsgMimePart for the found part, or NULL if no matching part is foundi; must be unref'd */ -TnyMsgMimePartIface * modest_tny_msg_actions_find_nth_part (const TnyMsgIface *msg, - gint index); +TnyMimePart* modest_tny_msg_actions_find_nth_part (TnyMsg *msg, gint index); + +gchar* modest_tny_msg_actions_find_body (TnyMsg *self, gboolean want_html); #endif /* __MODEST_TNY_MSG_ACTIONS_H__ */