X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=9205e0fa17351b540203cb8ba52440b86f682eaf;hp=28723f07c529c0bc82d900b81fdb3ddcbd733b26;hb=674685c46e0ffd6a061f21930a1a33e5f579fa91;hpb=0b7a6ab4edbeb404c1b93a7431802bcd45625d08 diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index 28723f0..9205e0f 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -8,18 +8,35 @@ /** * modest_text_utils_quote: + * @buf: a string which contains the message to quote + * @from: the sender of the original message + * @sent_date: sent date/time of the original message + * @limit: specifies the maximum characters per line in the quoted text + * + * Returns: a string containing the quoted message + */ +gchar * +modest_text_utils_quote(const gchar *buf, + const gchar *from, + const time_t sent_date, + const int limit); + +/** + * modest_text_utils_quote_text_buffer: * @buf: a GtkTextBuffer which contains the message to quote * @from: the sender of the original message * @sent_date: sent date/time of the original message * @limit: specifies the maximum characters per line in the quoted text * * Returns: a string containing the quoted message + * Please do not use this function, it may be removed */ gchar * -modest_text_utils_quote(GtkTextBuffer *buf, +modest_text_utils_quote_text_buffer(GtkTextBuffer *buf, const gchar *from, const time_t sent_date, const int limit); + #endif