1 /* modest-tny-msg-actions.h */
2 /* insert (c)/licensing information) */
4 #ifndef __MODEST_TNY_MSG_ACTIONS_H__
5 #define __MODEST_TNY_MSG_ACTIONS_H__
10 * modest_tny_msg_actions_quote:
11 * @self: the message to quote
12 * @from: the original sender of the message
13 * @sent_date: the date the original message was sent
14 * @limit: characters per line limit for the quoted message
15 * @to_quote: a string to quote instead of the message body
17 * reply-quotes a message or @to_quote if it's not NULL.
19 * Note: @from and @sent_date may be eliminated from the API in future versions
21 * Returns: a newly allocated string containing the quoted message
24 gchar *modest_tny_msg_actions_quote (const TnyMsgIface * self,
27 gint limit, gchar *to_quote);
30 * modest_tny_msg_actions_find_body_part:
32 * @mime_type: the mime type to find
34 * search a message for a body part of type @mime_type. @mime_type is a string
37 * Returns: the TnyMsgMimePartIface for the found part, or NULL if no matching part is found
40 TnyMsgMimePartIface *modest_tny_msg_actions_find_body_part (TnyMsgIface * self,
41 const gchar * mime_type);
43 #endif /* __MODEST_TNY_MSG_ACTIONS_H__ */