diff options
author | Dan Vrátil <dvratil@redhat.com> | 2012-03-29 00:38:11 +0800 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2012-03-29 00:38:25 +0800 |
commit | 6d2c382788a4042d53f49a080acd11b499aa52f6 (patch) | |
tree | 3834f0836340918ba17594a603ba61c13b9929a0 /mail/em-format-html-display.h | |
parent | 6bd1c6833a2c51898ac45865767dd01ba66a95c5 (diff) | |
download | gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.gz gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.bz2 gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.lz gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.xz gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.zst gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.zip |
WebKit port - port formatter and mail module
Diffstat (limited to 'mail/em-format-html-display.h')
-rw-r--r-- | mail/em-format-html-display.h | 49 |
1 files changed, 45 insertions, 4 deletions
diff --git a/mail/em-format-html-display.h b/mail/em-format-html-display.h index ec29698d46..c1b22eec58 100644 --- a/mail/em-format-html-display.h +++ b/mail/em-format-html-display.h @@ -52,6 +52,51 @@ G_BEGIN_DECLS typedef struct _EMFormatHTMLDisplay EMFormatHTMLDisplay; typedef struct _EMFormatHTMLDisplayClass EMFormatHTMLDisplayClass; typedef struct _EMFormatHTMLDisplayPrivate EMFormatHTMLDisplayPrivate; +typedef struct _EMFormatAttachmentBarPURI EMFormatAttachmentBarPURI; +typedef struct _EMFormatAttachmentPURI EMFormatAttachmentPURI; +typedef struct _EMFormatSMIMEPURI EMFormatSMIMEPURI; + +struct _EMFormatAttachmentBarPURI { + EMFormatPURI puri; + + EAttachmentStore *store; +}; + +struct _EMFormatAttachmentPURI { + EMFormatPURI puri; + + const EMFormatHandler *handle; + + const gchar *snoop_mime_type; + + /* for the > and V buttons */ + GtkWidget *forward, *down; + guint shown : 1; + + /* Attachment */ + EAttachment *attachment; + gchar *attachment_view_part_id; + gchar *description; + + /* image stuff */ + gint fit_width; + gint fit_height; + GtkImage *image; + GtkWidget *event_box; + + /* Optional Text Mem Stream */ + CamelStreamMem *mstream; +}; + +struct _EMFormatSMIMEPURI { + EMFormatPURI puri; + + gchar *description; + + gint signature; + CamelCipherValidity *valid; + GtkWidget *widget; +}; struct _EMFormatHTMLDisplay { EMFormatHTML parent; @@ -67,10 +112,6 @@ struct _EMFormatHTMLDisplayClass { GType em_format_html_display_get_type (void); EMFormatHTMLDisplay * em_format_html_display_new (void); -EAttachmentView * - em_format_html_display_get_attachment_view - (EMFormatHTMLDisplay *html_display, - const gchar *message_part_id); G_END_DECLS #endif /* EM_FORMAT_HTML_DISPLAY_H */ |