aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-12 01:12:57 +0800
committerDan Winship <danw@src.gnome.org>2000-09-12 01:12:57 +0800
commit040ff5ad09c54d215f0bced2d748e01675cc337a (patch)
treed53cd3ecfffcb49484ee2e0139f05d74a509b65d /mail/mail.h
parentcab460ef82d238ea5a8baf90eba707335394beaf (diff)
downloadgsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.tar
gsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.tar.gz
gsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.tar.bz2
gsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.tar.lz
gsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.tar.xz
gsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.tar.zst
gsoc2013-evolution-040ff5ad09c54d215f0bced2d748e01675cc337a.zip
Another big rewrite of this stuff. Now all (well, most) attachments get a
* mail-display.c, mail-format.c: Another big rewrite of this stuff. Now all (well, most) attachments get a small icon with a description and a (non-obvious) right-click pop-up menu with options to save, open in an external program, or show/hide inline. TODO: antialias the icon, add more options to the pop-up for certain MIME types, add an icon to the headers, fix PGP to work like everything else, fix message/external-body to work again, add some icon caching action, etc, etc. svn path=/trunk/; revision=5326
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);