aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/em-format.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-10 18:01:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-10 18:03:19 +0800
commit221c841d423c567f3bfb8b12ea039d7e932fdefa (patch)
tree2f505fd3231fd264d6c7cefe347881c060978542 /em-format/em-format.h
parent4b92f70a49aeaf7d097a3be9aeccd82ebba4966d (diff)
downloadgsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.tar
gsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.tar.gz
gsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.tar.bz2
gsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.tar.lz
gsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.tar.xz
gsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.tar.zst
gsoc2013-evolution-221c841d423c567f3bfb8b12ea039d7e932fdefa.zip
Bug 626453 - Show attachments inline when printing
Diffstat (limited to 'em-format/em-format.h')
-rw-r--r--em-format/em-format.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/em-format/em-format.h b/em-format/em-format.h
index 965ca20399..5ae0e7f2ae 100644
--- a/em-format/em-format.h
+++ b/em-format/em-format.h
@@ -251,6 +251,11 @@ struct _EMFormatClass {
/* Shows optional way to open messages */
void (*format_optional)(EMFormat *, CamelStream *, CamelMimePart *, CamelStream* );
+ gboolean (*is_inline) (EMFormat *emf,
+ const gchar *part_id,
+ CamelMimePart *mime_part,
+ const EMFormatHandler *handle);
+
/* signals */
/* complete, alternative to polling busy, for asynchronous work */
void (*complete)(EMFormat *);
@@ -277,9 +282,9 @@ void em_format_add_header (EMFormat *emf,
gint em_format_is_attachment (EMFormat *emf,
CamelMimePart *part);
-gint em_format_is_inline (EMFormat *emf,
- const gchar *partid,
- CamelMimePart *part,
+gboolean em_format_is_inline (EMFormat *emf,
+ const gchar *part_id,
+ CamelMimePart *mime_part,
const EMFormatHandler *handle);
void em_format_set_inline (EMFormat *emf,
const gchar *partid,