#include <tny-msg-iface.h>
#include <tny-msg-mime-part-iface.h>
+#include "modest-conf.h"
+
G_BEGIN_DECLS
/* convenience macros */
*
* 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);
/**
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__ */
-