* modest-tny-account-store.c:
[modest] / src / widgets / modest-msg-view-window.h
index 8c92129..e607e0b 100644 (file)
@@ -31,7 +31,7 @@
 #define __MODEST_MSG_VIEW_WINDOW_H__
 
 #include <tny-msg.h>
-#include <modest-window.h>
+#include <widgets/modest-window.h>
 
 G_BEGIN_DECLS
 
@@ -66,12 +66,26 @@ GType        modest_msg_view_window_get_type    (void) G_GNUC_CONST;
 
 /**
  * modest_msg_view_window_new:
+ * @msg: an #TnyMsg instance
+ * @account: the account name 
  * 
- * instantiates a new #ModestMsgViewWindow widget
+ * instantiates a new #ModestMsgViewWindow widget. The account name is used to
+ * set the proper account when choosing reply/forward from the msg view window
  *
  * Returns: a new #ModestMsgViewWindow, or NULL in case of error
  */
-ModestWindow*   modest_msg_view_window_new         (TnyMsg *msg);
+ModestWindow*   modest_msg_view_window_new         (TnyMsg *msg, const gchar *account);
+
+
+/**
+ * modest_msg_view_window_get_message:
+ * @msg: an #ModestMsgViewWindow instance
+ * 
+ * get the message in this msg view
+ * 
+ * Returns: a new #TnyMsg instance, or NULL in case of error
+ */
+TnyMsg*         modest_msg_view_window_get_message (ModestMsgViewWindow *window);
 
 G_END_DECLS