+
+const gchar*
+modest_msg_view_window_get_message_uid (ModestMsgViewWindow *self)
+{
+ TnyMsg *msg;
+ TnyHeader *header;
+ const gchar *retval = NULL;
+
+ msg = modest_msg_view_window_get_message (self);
+
+ if (!msg)
+ return NULL;
+
+ header = tny_msg_get_header (msg);
+ if (header) {
+ retval = tny_header_get_uid (header);
+ g_object_unref (header);
+ }
+ g_object_unref (msg);
+
+ return retval;
+}
+
+ModestWindow*
+modest_msg_view_window_new_with_header_model (TnyMsg *msg,
+ const gchar *account,
+ GtkTreeModel *model,
+ GtkTreeRowReference *row_reference)
+{
+ /* Currently we simply redirect to new constructor. It should store a
+ reference to the header list model, to enable next/prev message
+ actions */
+ g_message ("partially implemented %s", __FUNCTION__);
+
+ return modest_msg_view_window_new (msg, account);
+}
+
+
+gboolean
+modest_msg_view_window_select_next_message (ModestMsgViewWindow *window)
+{
+ g_message ("not implemented %s", __FUNCTION__);
+ return FALSE;
+}
+
+gboolean
+modest_msg_view_window_select_previous_message (ModestMsgViewWindow *window)
+{
+ g_message ("not implemented %s", __FUNCTION__);
+ return FALSE;
+}
+
+void
+modest_msg_view_window_view_attachment (ModestMsgViewWindow *window, TnyMimePart *mime_part)
+{
+ g_message ("not implemented %s", __FUNCTION__);
+}
+
+void
+modest_msg_view_window_save_attachments (ModestMsgViewWindow *window, GList *mime_parts)
+{
+ g_message ("not implemented %s", __FUNCTION__);
+}
+void
+modest_msg_view_window_remove_attachments (ModestMsgViewWindow *window, GList *mime_parts)
+{
+ g_message ("not implemented %s", __FUNCTION__);
+}