2007-09-23 [paul] 3.0.1cvs25
[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 gint quote_fmt_get_line(void);
15 #ifdef USE_ASPELL
16 void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
17                     const gchar *my_body, gboolean my_dry_run,
18                         PrefsAccount *account,
19                         GtkAspell *gtkaspell);
20 #else
21 void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
22                     const gchar *my_body, gboolean my_dry_run,
23                         PrefsAccount *account);
24 #endif
25 gint quote_fmtparse(void);
26 void quote_fmt_scan_string(const gchar *str);
27 void quote_fmt_reset_vartable(void);
28 gint quote_fmt_get_cursor_pos(void);
29
30 void quotefmt_create_new_msg_fmt_widgets(GtkWindow *parent_window,
31                                                 GtkWidget *parent_box,
32                                                 GtkWidget **checkbtn_compose_with_format,
33                                                 GtkWidget **edit_subject_format,
34                                                 GtkWidget **edit_body_format,
35                                                 gboolean add_info_button);
36 void quotefmt_create_reply_fmt_widgets(GtkWindow *parent_window,
37                                                 GtkWidget *parent_box,
38                                                 GtkWidget **checkbtn_reply_with_format,
39                                                 GtkWidget **edit_reply_quotemark,
40                                                 GtkWidget **edit_reply_format,
41                                                 gboolean add_info_button);
42 void quotefmt_create_forward_fmt_widgets(GtkWindow *parent_window,
43                                                 GtkWidget *parent_box,
44                                                 GtkWidget **checkbtn_forward_with_format,
45                                                 GtkWidget **edit_fw_quotemark,
46                                                 GtkWidget **edit_fw_format,
47                                                 gboolean add_info_button);
48 void quotefmt_add_info_button(GtkWindow *parent_window, GtkWidget *parent_box);
49
50 void quotefmt_check_new_msg_formats(gboolean use_format,
51                                                                         gchar *subject_fmt,
52                                                                         gchar *body_fmt);
53 void quotefmt_check_reply_formats(gboolean use_format,
54                                                                         gchar *quotation_mark,
55                                                                         gchar *body_fmt);
56 void quotefmt_check_forward_formats(gboolean use_format,
57                                                                         gchar *quotation_mark,
58                                                                         gchar *body_fmt);
59
60 #endif /* __QUOTE_FMT_H__ */