#ifndef __MODEST_TNY_MSG_ACTIONS_H__
#define __MODEST_TNY_MSG_ACTIONS_H__
-/* public */
-
/**
* modest_tny_msg_actions_quote:
* @self: the message to quote
*
* 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,
+gchar *modest_tny_msg_actions_quote (TnyMsg * self, const gchar * from,
+ time_t sent_date, gint limit,
const gchar *to_quote);
/**
* 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);
/**
*
* 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__ */