#ifndef __MODEST_MSG_VIEW_H__
#define __MODEST_MSG_VIEW_H__
-#include <gtk/gtk.h>
#include <tny-stream.h>
#include <tny-msg.h>
#include <tny-mime-part.h>
-#include <modest-conf.h>
+#include <tny-msg-view.h>
G_BEGIN_DECLS
/**
+ *
* modest_msg_view_get_type
*
* get the GType for the this class
* */
void modest_msg_view_set_message (ModestMsgView *self, TnyMsg *tny_msg);
+
+
/**
- * modest_msg_view_get_selected_text:
+ * modest_msg_view_set_message
* @self: a ModestMsgView 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
+ *
+ * get the @tny_msg e-mail message.
+ *
+ * Returns: the message or NULL
*/
-gchar * modest_msg_view_get_selected_text (ModestMsgView *self);
+TnyMsg* modest_msg_view_get_message (ModestMsgView *self);
+
+
G_END_DECLS