X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-view.h;h=f7c4fcbe639073ae37bfaf9245bf2edaf580e748;hp=2edea8c1c477cd0ce20f8e683548a92ada69d7bf;hb=HEAD;hpb=0e353b4adf22acc768bfa62ebcba2faab0bfc3b9 diff --git a/src/widgets/modest-msg-view.h b/src/widgets/modest-msg-view.h index 2edea8c..f7c4fcb 100644 --- a/src/widgets/modest-msg-view.h +++ b/src/widgets/modest-msg-view.h @@ -54,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); @@ -67,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, @@ -85,6 +87,8 @@ struct _ModestMsgViewIface { 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); }; @@ -98,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); @@ -112,6 +116,7 @@ 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);