X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-msg-view.h;h=80b5dae4a3720c1a6bf6b8cbbfd757d52f81174e;hb=e9f816cee4802f9bfe576e70fae99b2a73eb7dcd;hp=2ef059af7f4bd52462868f12726ce3c524aab3c0;hpb=674685c46e0ffd6a061f21930a1a33e5f579fa91;p=modest diff --git a/src/modest-tny-msg-view.h b/src/modest-tny-msg-view.h index 2ef059a..80b5dae 100644 --- a/src/modest-tny-msg-view.h +++ b/src/modest-tny-msg-view.h @@ -10,6 +10,8 @@ #include #include +#include "modest-conf.h" + G_BEGIN_DECLS /* convenience macros */ @@ -52,7 +54,7 @@ GType modest_tny_msg_view_get_type (void) G_GNUC_CONST; * * Returns: a new ModestTnyMsgView widget, or NULL if there's an error */ -GtkWidget* modest_tny_msg_view_new (TnyMsgIface *tny_msg); +GtkWidget* modest_tny_msg_view_new (TnyMsgIface *tny_msg, gboolean show_attachments_inline); /** @@ -65,9 +67,30 @@ GtkWidget* modest_tny_msg_view_new (TnyMsgIface *tny_msg); * */ void modest_tny_msg_view_set_message (ModestTnyMsgView *self, TnyMsgIface *tny_msg); - + +/** + * modest_tny_msg_view_redraw + * @self: a ModestTnyMsgView instance + * + * re-display the current e-mail message. + */ +void modest_tny_msg_view_redraw (ModestTnyMsgView *self); + + +/** + * modest_tny_msg_view_get_selected_text: + * @self: a ModestTnyMsgView instance + * + * get the user selected part of the message + * + * Returns: a newly allocated string of the user's selection or NULL if nothing is selected + */ gchar * modest_tny_msg_view_get_selected_text (ModestTnyMsgView *self); +gboolean modest_tny_msg_view_get_show_attachments_inline_flag (ModestTnyMsgView *self); + +gboolean modest_tny_msg_view_set_show_attachments_inline_flag (ModestTnyMsgView *self, gboolean flag); + G_END_DECLS #endif /* __MODEST_TNY_MSG_VIEW_H__ */