* moded find_body_part from modest-tny-msg-view to modest-tny-msg-actions
[modest] / src / modest-text-utils.h
1 /* modest-text-utils.h */
2 /* insert (c)/licensing information) */
3
4 #ifndef __MODEST_TEXT_UTILS_H__
5 #define __MODEST_TEXT_UTILS_H__
6
7 /* public */
8
9 /**
10  * modest_text_utils_quote:
11  * @buf: a string which contains the message to quote
12  * @from: the sender of the original message
13  * @sent_date: sent date/time of the original message
14  * @limit: specifies the maximum characters per line in the quoted text
15  * 
16  * Returns: a string containing the quoted message
17  */
18 gchar *
19 modest_text_utils_quote(const gchar *buf,
20                         const gchar *from,
21                         const time_t sent_date,
22                         const int limit);
23
24 /**
25  * modest_text_utils_quote_text_buffer:
26  * @buf: a GtkTextBuffer which contains the message to quote
27  * @from: the sender of the original message
28  * @sent_date: sent date/time of the original message
29  * @limit: specifies the maximum characters per line in the quoted text
30  * 
31  * Returns: a string containing the quoted message
32  * Please do not use this function, it may be removed
33  */
34 gchar *
35 modest_text_utils_quote_text_buffer(GtkTextBuffer *buf,
36                         const gchar *from,
37                         const time_t sent_date,
38                         const int limit);
39
40
41
42 #endif