* added REALNAME to identities
[modest] / src / modest-tny-msg-view.h
index ba98311..80b5dae 100644 (file)
@@ -10,6 +10,8 @@
 #include <tny-msg-iface.h>
 #include <tny-msg-mime-part-iface.h>
 
+#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,8 +67,29 @@ GtkWidget*   modest_tny_msg_view_new          (TnyMsgIface *tny_msg);
  *  */
 void         modest_tny_msg_view_set_message  (ModestTnyMsgView *self,
                                                TnyMsgIface *tny_msg);
-                                               
-GtkTextBuffer *      modest_tny_msg_view_get_selected_text (ModestTnyMsgView *self);
+
+/**
+ * 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