c003927f7ebc61cf59f60f579a3b382051679ae3
[modest] / src / hildon / modest-ui-message-editor.h
1 #ifndef _MODEST_UI_MESSAGE_EDITOR_H
2 #define _MODEST_UI_MESSAGE_EDITOR_H
3
4 typedef enum {
5         QUOTED_SEND_REPLY,
6         QUOTED_SEND_REPLY_ALL,
7         QUOTED_SEND_FORWARD,
8         QUOTED_SEND_FORWARD_ATTACHED
9 } quoted_send_type;
10
11 /**
12  * quoted_send_msg:
13  * @modest_ui: a ModestUI instance
14  * @qstype: determines whether to REPLY, REPLY_ALL or FORWARD
15  *
16  * open a new editor window quoting the currently selected message
17  * the quote type determines which parts are to be quoted
18  */
19 void quoted_send_msg (ModestUI *modest_ui, quoted_send_type qstype);
20
21 /**
22  * on_new_mail_clicked:
23  * @widget: the button widget that received the signal
24  * @user_data: pointer to user-data, here ModestUI
25  *
26  * callback used in main-window
27  * called when user presses the "New Mail" button
28  */
29 void on_new_mail_clicked (GtkWidget *widget, gpointer user_data);
30
31 void ui_on_mailto_clicked (GtkWidget *widget, const gchar * uri, gpointer user_data);
32 #endif /* _MODEST_UI_MESSAGE_EDITOR_H */