A bit more room for alertpanel messages
[claws.git] / src / quote_fmt.h
blobb0112c501c3680badb1870699aef42bdf7884d57
1 /*
2 * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2014 Hiroyuki Yamamoto and the Claws Mail team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __QUOTE_FMT_H__
22 #define __QUOTE_FMT_H__
24 #ifdef USE_ENCHANT
25 #include "gtkaspell.h"
26 #endif
28 #define quote_fmt_parse quote_fmtparse
30 void quote_fmt_quote_description(GtkWidget *widget, GtkWidget *pref_window);
32 gchar *quote_fmt_get_buffer(void);
33 GList *quote_fmt_get_attachments_list(void);
34 gint quote_fmt_get_line(void);
35 #ifdef USE_ENCHANT
36 void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
37 const gchar *my_body, gboolean my_dry_run,
38 PrefsAccount *account,
39 gboolean escaped_string,
40 GtkAspell *gtkaspell);
41 #else
42 void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
43 const gchar *my_body, gboolean my_dry_run,
44 PrefsAccount *account,
45 gboolean escaped_string);
46 #endif
47 gint quote_fmtparse(void);
48 void quote_fmt_scan_string(const gchar *str);
49 void quote_fmt_reset_vartable(void);
50 gint quote_fmt_get_cursor_pos(void);
52 void quotefmt_create_new_msg_fmt_widgets(GtkWindow *parent_window,
53 GtkWidget *parent_box,
54 GtkWidget **checkbtn_compose_with_format,
55 GtkWidget **override_from_format,
56 GtkWidget **edit_subject_format,
57 GtkWidget **edit_body_format,
58 gboolean add_info_button,
59 void(*set_defaults_func)(void));
60 void quotefmt_create_reply_fmt_widgets(GtkWindow *parent_window,
61 GtkWidget *parent_box,
62 GtkWidget **checkbtn_reply_with_format,
63 GtkWidget **override_from_format,
64 GtkWidget **edit_reply_quotemark,
65 GtkWidget **edit_reply_format,
66 gboolean add_info_button,
67 void(*set_defaults_func)(void));
68 void quotefmt_create_forward_fmt_widgets(GtkWindow *parent_window,
69 GtkWidget *parent_box,
70 GtkWidget **checkbtn_forward_with_format,
71 GtkWidget **override_from_format,
72 GtkWidget **edit_fw_quotemark,
73 GtkWidget **edit_fw_format,
74 gboolean add_info_button,
75 void(*set_defaults_func)(void));
76 void quotefmt_add_info_button(GtkWindow *parent_window, GtkWidget *parent_box);
77 void quotefmt_add_defaults_button(GtkWindow *parent_window,
78 GtkWidget *parent_box,
79 void(*set_defaults_func)(void));
81 void quotefmt_check_new_msg_formats(gboolean use_format,
82 gchar *override_from_fmt,
83 gchar *subject_fmt,
84 gchar *body_fmt);
85 void quotefmt_check_reply_formats(gboolean use_format,
86 gchar *override_from_fmt,
87 gchar *quotation_mark,
88 gchar *body_fmt);
89 void quotefmt_check_forward_formats(gboolean use_format,
90 gchar *override_from_fmt,
91 gchar *quotation_mark,
92 gchar *body_fmt);
94 #endif /* __QUOTE_FMT_H__ */