Modified webpage: now tinymail repository is in gitorious.
[modest] / src / widgets / modest-msg-view.h
index 02d819a..f7c4fcb 100644 (file)
@@ -34,6 +34,7 @@
 #include <tny-msg.h>
 #include <tny-mime-part.h>
 #include <tny-msg-view.h>
+#include <tny-header-view.h>
 #include <widgets/modest-recpt-view.h>
 #include <widgets/modest-zoomable.h>
 #include <widgets/modest-isearch-view.h>
@@ -53,6 +54,7 @@ typedef struct _ModestMsgViewIface ModestMsgViewIface;
 struct _ModestMsgViewIface {
        GTypeInterface parent;
 
+       void (*set_msg_with_other_body_func) (ModestMsgView *self, TnyMsg *msg, TnyMimePart *other_body);
        GtkAdjustment* (*get_vadjustment_func) (ModestMsgView *self);
        GtkAdjustment* (*get_hadjustment_func) (ModestMsgView *self);
        void (*set_vadjustment_func) (ModestMsgView *self, GtkAdjustment *vadj);
@@ -66,6 +68,7 @@ struct _ModestMsgViewIface {
        TnyList * (*get_attachments_func) (ModestMsgView *self);
        void (*grab_focus_func) (ModestMsgView *self);
        void (*remove_attachment_func) (ModestMsgView *view, TnyMimePart *attachment);
+       void (*set_branding_func) (ModestMsgView *view, const gchar *brand_name, const GdkPixbuf *brand_icon);
 
        /* signals */
        void (*set_scroll_adjustments)      (ModestMsgView *msg_view,
@@ -80,6 +83,12 @@ struct _ModestMsgViewIface {
                                    gpointer user_data);
        gboolean (*fetch_image)    (ModestMsgView *msgview, const gchar *uri,
                                    TnyStream *stream);
+       void (*show_details)       (ModestMsgView *msgview, gpointer userdata);
+
+       void (*request_fetch_images_func) (ModestMsgView *msgview);
+       gboolean (*has_blocked_external_images_func) (ModestMsgView *msgview);
+       void (*limit_error)        (ModestMsgView *msgview);
+       gboolean (*handle_calendar)    (ModestMsgView *msgview, TnyMimePart *calendar_part, GtkContainer *container);
 };
 
 
@@ -93,7 +102,7 @@ struct _ModestMsgViewIface {
  */
 GType        modest_msg_view_get_type    (void) G_GNUC_CONST;
 
-
+void modest_msg_view_set_msg_with_other_body (ModestMsgView *self, TnyMsg *msg, TnyMimePart *part);
 GtkAdjustment *modest_msg_view_get_vadjustment (ModestMsgView *self);
 GtkAdjustment *modest_msg_view_get_hadjustment (ModestMsgView *self);
 void modest_msg_view_set_vadjustment (ModestMsgView *self, GtkAdjustment *vadj);
@@ -107,7 +116,10 @@ TnyList *modest_msg_view_get_selected_attachments (ModestMsgView *self);
 TnyList *modest_msg_view_get_attachments (ModestMsgView *self);
 void modest_msg_view_grab_focus (ModestMsgView *self);
 void modest_msg_view_remove_attachment (ModestMsgView *view, TnyMimePart *attachment);
+void modest_msg_view_set_branding (ModestMsgView *view, const gchar *brand_name, const GdkPixbuf *brand_icon);
 void modest_msg_view_set_view_images (ModestMsgView *view, gboolean view_images);
+void modest_msg_view_request_fetch_images (ModestMsgView *view);
+gboolean modest_msg_view_has_blocked_external_images (ModestMsgView *view);
 
 
 G_END_DECLS