aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-23 02:07:14 +0800
committerDan Winship <danw@src.gnome.org>2000-04-23 02:07:14 +0800
commitf5ec554c152ece6b2cac94f030760df4b53bb1c7 (patch)
treea4e616dba27372dadf0bdc2bcbe067161885d9f4 /mail/mail-format.h
parentee7f36f84b8f45356fae240c13dd68b0e8aee8d5 (diff)
downloadgsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.tar
gsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.tar.gz
gsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.tar.bz2
gsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.tar.lz
gsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.tar.xz
gsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.tar.zst
gsoc2013-evolution-f5ec554c152ece6b2cac94f030760df4b53bb1c7.zip
move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,
* folder-browser-factory.c: move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send, reply, and "reply to all" buttons. * mail-ops.c (composer_send_cb, send): moved from folder-browser-factory.c. (reply_to_sender, reply_to_all): new functions to do replies. * mail-format.c (text_to_html): Add an "add_pre" flag, to make it wrap the output in <pre></pre>. (mail_generate_reply): New function to create a composer and build a reply in it. svn path=/trunk/; revision=2554
Diffstat (limited to 'mail/mail-format.h')
-rw-r--r--mail/mail-format.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-format.h b/mail/mail-format.h
index 87c16a2049..22c5f9deb2 100644
--- a/mail/mail-format.h
+++ b/mail/mail-format.h
@@ -32,6 +32,7 @@ extern "C" {
#include <gtkhtml/gtkhtml.h>
#include "camel/camel.h"
+#include "composer/e-msg-composer.h"
void mail_format_mime_message (CamelMimeMessage *mime_message,
GtkHTMLStreamHandle *header_stream,
@@ -39,11 +40,12 @@ void mail_format_mime_message (CamelMimeMessage *mime_message,
void mail_write_html (GtkHTMLStreamHandle *stream, const char *data);
-CamelMimeMessage *mail_generate_reply (CamelMimeMessage *mime_message);
+EMsgComposer *mail_generate_reply (CamelMimeMessage *mime_message,
+ gboolean to_all);
-CamelMimeMessage *mail_generate_forward (CamelMimeMessage *mime_message,
- gboolean forward_as_attachment,
- gboolean keep_attachments);
+EMsgComposer *mail_generate_forward (CamelMimeMessage *mime_message,
+ gboolean forward_as_attachment,
+ gboolean keep_attachments);
#ifdef __cplusplus
}