aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail.h')
-rw-r--r--mail/mail.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/mail.h b/mail/mail.h
index 4b398a0f4b..029a00f603 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -18,6 +18,7 @@
*/
#include <gtkhtml/gtkhtml.h>
+#include <libgnomevfs/gnome-vfs-mime-handlers.h>
#include "camel/camel.h"
#include "composer/e-msg-composer.h"
#include "mail-config.h"
@@ -43,6 +44,19 @@ char *mail_crypto_openpgp_clearsign (const char *plaintext,
void mail_format_mime_message (CamelMimeMessage *mime_message,
MailDisplay *md);
+typedef gboolean (*MailMimeHandlerFn) (CamelMimePart *part,
+ const char *mime_type,
+ MailDisplay *md);
+typedef struct {
+ gboolean generic;
+ OAF_ServerInfo *component;
+ GnomeVFSMimeApplication *application;
+ MailMimeHandlerFn builtin;
+} MailMimeHandler;
+MailMimeHandler *mail_lookup_handler (const char *mime_type);
+
+gboolean mail_part_is_inline (CamelMimePart *part);
+
EMsgComposer *mail_generate_reply (CamelMimeMessage *mime_message,
gboolean to_all);