claws-mail/src/quote_fmt.h
Tristan Chabredier 8c10a3ae90 2008-03-29 [wwp] 3.3.1cvs45
* src/prefs_account.c
	* src/prefs_common.c
	* src/prefs_folder_item.c
	* src/prefs_quote.c
	* src/quote_fmt.c
	* src/quote_fmt.h
		Fix compose template formats (in global preferences)
		being translated under specific conditions.
		Add a button to restore factory defaults for current
		language.
2008-03-29 16:17:20 +00:00

75 lines
2.5 KiB
C

#ifndef __QUOTE_FMT_H__
#define __QUOTE_FMT_H__
#ifdef USE_ASPELL
#include "gtkaspell.h"
#endif
#define quote_fmt_parse quote_fmtparse
void quote_fmt_quote_description(GtkWidget *widget, GtkWidget *pref_window);
gchar *quote_fmt_get_buffer(void);
GList *quote_fmt_get_attachments_list(void);
gint quote_fmt_get_line(void);
#ifdef USE_ASPELL
void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
const gchar *my_body, gboolean my_dry_run,
PrefsAccount *account,
gboolean escaped_string,
GtkAspell *gtkaspell);
#else
void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
const gchar *my_body, gboolean my_dry_run,
PrefsAccount *account,
gboolean escaped_string);
#endif
gint quote_fmtparse(void);
void quote_fmt_scan_string(const gchar *str);
void quote_fmt_reset_vartable(void);
gint quote_fmt_get_cursor_pos(void);
void quotefmt_create_new_msg_fmt_widgets(GtkWindow *parent_window,
GtkWidget *parent_box,
GtkWidget **checkbtn_compose_with_format,
GtkWidget **override_from_format,
GtkWidget **edit_subject_format,
GtkWidget **edit_body_format,
gboolean add_info_button,
void(*set_defaults_func)(void));
void quotefmt_create_reply_fmt_widgets(GtkWindow *parent_window,
GtkWidget *parent_box,
GtkWidget **checkbtn_reply_with_format,
GtkWidget **override_from_format,
GtkWidget **edit_reply_quotemark,
GtkWidget **edit_reply_format,
gboolean add_info_button,
void(*set_defaults_func)(void));
void quotefmt_create_forward_fmt_widgets(GtkWindow *parent_window,
GtkWidget *parent_box,
GtkWidget **checkbtn_forward_with_format,
GtkWidget **override_from_format,
GtkWidget **edit_fw_quotemark,
GtkWidget **edit_fw_format,
gboolean add_info_button,
void(*set_defaults_func)(void));
void quotefmt_add_info_button(GtkWindow *parent_window, GtkWidget *parent_box);
void quotefmt_add_defaults_button(GtkWindow *parent_window,
GtkWidget *parent_box,
void(*set_defaults_func)(void));
void quotefmt_check_new_msg_formats(gboolean use_format,
gchar *override_from_fmt,
gchar *subject_fmt,
gchar *body_fmt);
void quotefmt_check_reply_formats(gboolean use_format,
gchar *override_from_fmt,
gchar *quotation_mark,
gchar *body_fmt);
void quotefmt_check_forward_formats(gboolean use_format,
gchar *override_from_fmt,
gchar *quotation_mark,
gchar *body_fmt);
#endif /* __QUOTE_FMT_H__ */