#include <tny-msg.h>
#include <tny-mime-part.h>
#include <tny-msg-view.h>
+#include <widgets/modest-recpt-view.h>
G_BEGIN_DECLS
typedef struct _ModestMsgViewClass ModestMsgViewClass;
struct _ModestMsgView {
- GtkScrolledWindow parent;
+ GtkViewport parent;
};
struct _ModestMsgViewClass {
- GtkScrolledWindowClass parent_class;
+ GtkViewportClass parent_class;
void (*link_hover) (ModestMsgView *msgview, const gchar* link,
gpointer user_data);
gpointer user_data);
void (*attachment_clicked) (ModestMsgView *msgview, int index,
gpointer user_data);
+ void (*recpt_activated) (ModestMsgView *msgview, const gchar *address,
+ gpointer user_data);
};
/**
+ *
* 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_set_message
+ * @self: a ModestMsgView instance
+ *
+ * get the @tny_msg e-mail message.
+ *
+ * Returns: the message or NULL
+ */
+TnyMsg* modest_msg_view_get_message (ModestMsgView *self);
+
+
+
G_END_DECLS
#endif /* __MODEST_MSG_VIEW_H__ */