#define __MODEST_MSG_VIEW_WINDOW_H__
#include <tny-msg.h>
-#include <modest-window.h>
+#include <widgets/modest-window.h>
G_BEGIN_DECLS
/**
* 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