X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-view.h;h=02d819abab2edea4bd60c1bca36ec58fae37dc1f;hp=4c7f16d18eae89b074ea39495fbb3b59c041bb5e;hb=f6d386ff93e929092ba105385a29d760aeba9ff7;hpb=4a4e446d6461811d75e3f6b62f38bda2b9e4e975 diff --git a/src/widgets/modest-msg-view.h b/src/widgets/modest-msg-view.h index 4c7f16d..02d819a 100644 --- a/src/widgets/modest-msg-view.h +++ b/src/widgets/modest-msg-view.h @@ -61,8 +61,9 @@ struct _ModestMsgViewIface { GtkShadowType (*get_shadow_type_func) (ModestMsgView *self); TnyHeaderFlags (*get_priority_func) (ModestMsgView *self); void (*set_priority_func) (ModestMsgView *self, TnyHeaderFlags flags); - GList * (*get_selected_attachments_func) (ModestMsgView *self); - GList * (*get_attachments_func) (ModestMsgView *self); + 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); @@ -77,6 +78,8 @@ struct _ModestMsgViewIface { gpointer user_data); void (*recpt_activated) (ModestMsgView *msgview, const gchar *address, gpointer user_data); + gboolean (*fetch_image) (ModestMsgView *msgview, const gchar *uri, + TnyStream *stream); }; @@ -100,10 +103,11 @@ GtkShadowType modest_msg_view_get_shadow_type (ModestMsgView *self); TnyHeaderFlags modest_msg_view_get_priority (ModestMsgView *self); void modest_msg_view_set_priority (ModestMsgView *self, TnyHeaderFlags flags); -GList *modest_msg_view_get_selected_attachments (ModestMsgView *self); -GList *modest_msg_view_get_attachments (ModestMsgView *self); +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_view_images (ModestMsgView *view, gboolean view_images); G_END_DECLS