From 3262cba6ce9e55ae6afd71dd7cee7173992fa493 Mon Sep 17 00:00:00 2001
From: Not Zed <NotZed@Ximian.com>
Date: Fri, 8 Apr 2005 04:34:25 +0000
Subject: removed. (em_utils_handle_receipt): asynchronously load message if
 none is

2005-04-08  Not Zed  <NotZed@Ximian.com>

        * em-composer-utils.c (em_utils_ask_receipt): removed.
        (em_utils_handle_receipt): asynchronously load message if none is
        supplied.

        * em-folder-view.c (emfv_set_seen): pass message in.

        * em-composer-utils.c (em_utils_ask_receipt): strip leading lwsp
        on the disposition address.
        (em_utils_ask_receipt): added a comment about which rfc.
        (em_utils_handle_receipt): merged ask_receipt into here.  Changed
        api to take a message instead, so we don't have to load the
        message every time.  Also only set receipt-handled if we have a
        receipt requested in the first place.

2005-04-05  ERDI Gergo  <cactus@cactus.rulez.org>

        * mail-errors.xml: Added new dialog for receipt requests

        * em-composer-utils.c (em_utils_guess_account): Made guess_account
        public, to be callable from em-folder-view
        (em_utils_send_receipt): New function to send an RFC
        2298-compliant message delivery notification

svn path=/trunk/; revision=29185
---
 mail/em-composer-utils.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'mail/em-composer-utils.h')

diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h
index 99b1200346..4ee2e1beba 100644
--- a/mail/em-composer-utils.h
+++ b/mail/em-composer-utils.h
@@ -34,6 +34,7 @@ struct _CamelFolder;
 struct _CamelMimeMessage;
 struct _EMsgComposer;
 struct _EMFormat;
+struct _EAccount;
 
 void em_composer_utils_setup_callbacks (struct _EMsgComposer *composer, struct _CamelFolder *folder, const char *uid,
 					guint32 flags, guint32 set, struct _CamelFolder *drafts, const char *drafts_uid);
@@ -63,6 +64,9 @@ void em_utils_forward_messages (struct _CamelFolder *folder, GPtrArray *uids, co
 void em_utils_redirect_message (struct _CamelMimeMessage *message);
 void em_utils_redirect_message_by_uid (struct _CamelFolder *folder, const char *uid);
 
+void em_utils_handle_receipt (struct _CamelFolder *folder, const char *uid, struct _CamelMimeMessage *msg);
+void em_utils_send_receipt   (struct _CamelFolder *folder, struct _CamelMimeMessage *message);
+
 enum {
 	REPLY_MODE_SENDER,
 	REPLY_MODE_ALL,
-- 
cgit