Revert previous (mis-)commit.
[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 **edit_subject_format,
37                                                 GtkWidget **edit_body_format,
38                                                 gboolean add_info_button);
39 void quotefmt_create_reply_fmt_widgets(GtkWindow *parent_window,
40                                                 GtkWidget *parent_box,
41                                                 GtkWidget **checkbtn_reply_with_format,
42                                                 GtkWidget **edit_reply_quotemark,
43                                                 GtkWidget **edit_reply_format,
44                                                 gboolean add_info_button);
45 void quotefmt_create_forward_fmt_widgets(GtkWindow *parent_window,
46                                                 GtkWidget *parent_box,
47                                                 GtkWidget **checkbtn_forward_with_format,
48                                                 GtkWidget **edit_fw_quotemark,
49                                                 GtkWidget **edit_fw_format,
50                                                 gboolean add_info_button);
51 void quotefmt_add_info_button(GtkWindow *parent_window, GtkWidget *parent_box);
52
53 void quotefmt_check_new_msg_formats(gboolean use_format,
54                                                                         gchar *subject_fmt,
55                                                                         gchar *body_fmt);
56 void quotefmt_check_reply_formats(gboolean use_format,
57                                                                         gchar *quotation_mark,
58                                                                         gchar *body_fmt);
59 void quotefmt_check_forward_formats(gboolean use_format,
60                                                                         gchar *quotation_mark,
61                                                                         gchar *body_fmt);
62
63 #endif /* __QUOTE_FMT_H__ */