#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>
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);
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,
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);
};
*/
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);
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