-typedef struct _ModestMsgViewClass ModestMsgViewClass;
-
-struct _ModestMsgView {
- GtkScrolledWindow parent;
-};
-
-struct _ModestMsgViewClass {
- GtkScrolledWindowClass parent_class;
-
- void (*link_hover) (ModestMsgView *msgview, const gchar* link,
+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);
+ void (*set_hadjustment_func) (ModestMsgView *self, GtkAdjustment *vadj);
+ void (*set_shadow_type_func) (ModestMsgView *self, GtkShadowType type);
+ GtkShadowType (*get_shadow_type_func) (ModestMsgView *self);
+ TnyHeaderFlags (*get_priority_func) (ModestMsgView *self);
+ void (*set_priority_func) (ModestMsgView *self, TnyHeaderFlags flags);
+ void (*set_view_images_func) (ModestMsgView *self, gboolean view_images);
+ TnyList * (*get_selected_attachments_func) (ModestMsgView *self);
+ 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,
+ GtkAdjustment *hadj,
+ GtkAdjustment *vadj);
+
+ void (*link_contextual) (ModestMsgView *msgview, const gchar* link,