* Removed the password_selected signal
[modest] / src / modest-tny-msg-actions.h
index 65c6d88..8e43fad 100644 (file)
 #define __MODEST_TNY_MSG_ACTIONS_H__
 
 /**
- * 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 (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
  * @want_html: prefer HTML-part when there are multiple body parts?
@@ -56,9 +38,9 @@ gchar *modest_tny_msg_actions_quote (TnyMsgIface * self, const gchar * from,
  * 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
  */     
-TnyMimePartIface *modest_tny_msg_actions_find_body_part (TnyMsgIface * self, gboolean want_html);
+TnyMimePart *modest_tny_msg_actions_find_body_part (TnyMsg * self, gboolean want_html);
 
 
 /**
@@ -68,9 +50,22 @@ TnyMimePartIface *modest_tny_msg_actions_find_body_part (TnyMsgIface * self, gbo
  * 
  * 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
  */
-TnyMimePartIface * modest_tny_msg_actions_find_nth_part (TnyMsgIface *msg, gint index);
+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__ */