880a0de2c69b2ff6575aba152feea47ed5a3d5fc
[claws.git] / src / quote_fmt.h
1 #ifndef __QUOTE_FMT_H__
2
3 #define __QUOTE_FMT_H__
4
5 #ifdef USE_ASPELL
6 #include "gtkaspell.h"
7 #endif
8
9 #define quote_fmt_parse quote_fmtparse
10
11 void quote_fmt_quote_description(GtkWidget *widget, GtkWidget *pref_window);
12
13 gchar *quote_fmt_get_buffer(void);
14 GList *quote_fmt_get_attachments_list(void);
15 gint quote_fmt_get_line(void);
16 #ifdef USE_ASPELL
17 void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
18                     const gchar *my_body, gboolean my_dry_run,
19                         PrefsAccount *account,
20                         gboolean escaped_string,
21                         GtkAspell *gtkaspell);
22 #else
23 void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
24                     const gchar *my_body, gboolean my_dry_run,
25                         PrefsAccount *account,
26                         gboolean escaped_string);
27 #endif
28 gint quote_fmtparse(void);
29 void quote_fmt_scan_string(const gchar *str);
30 void quote_fmt_reset_vartable(void);
31 gint quote_fmt_get_cursor_pos(void);
32
33 void quotefmt_create_new_msg_fmt_widgets(GtkWindow *parent_window,
34                                                 GtkWidget *parent_box,
35                                                 GtkWidget **checkbtn_compose_with_format,
36                                                 GtkWidget **override_from_format,
37                                                 GtkWidget **edit_subject_format,
38                                                 GtkWidget **edit_body_format,
39                                                 gboolean add_info_button);
40 void quotefmt_create_reply_fmt_widgets(GtkWindow *parent_window,
41                                                 GtkWidget *parent_box,
42                                                 GtkWidget **checkbtn_reply_with_format,
43                                                 GtkWidget **override_from_format,
44                                                 GtkWidget **edit_reply_quotemark,
45                                                 GtkWidget **edit_reply_format,
46                                                 gboolean add_info_button);
47 void quotefmt_create_forward_fmt_widgets(GtkWindow *parent_window,
48                                                 GtkWidget *parent_box,
49                                                 GtkWidget **checkbtn_forward_with_format,
50                                                 GtkWidget **override_from_format,
51                                                 GtkWidget **edit_fw_quotemark,
52                                                 GtkWidget **edit_fw_format,
53                                                 gboolean add_info_button);
54 void quotefmt_add_info_button(GtkWindow *parent_window, GtkWidget *parent_box);
55
56 void quotefmt_check_new_msg_formats(gboolean use_format,
57                                                                         gchar *override_from_fmt,
58                                                                         gchar *subject_fmt,
59                                                                         gchar *body_fmt);
60 void quotefmt_check_reply_formats(gboolean use_format,
61                                                                         gchar *override_from_fmt,
62                                                                         gchar *quotation_mark,
63                                                                         gchar *body_fmt);
64 void quotefmt_check_forward_formats(gboolean use_format,
65                                                                         gchar *override_from_fmt,
66                                                                         gchar *quotation_mark,
67                                                                         gchar *body_fmt);
68
69 #endif /* __QUOTE_FMT_H__ */