claws-mail/src/quote_fmt.h

76 lines
2.5 KiB
C
Raw Normal View History

2001-11-07 11:29:45 +01:00
#ifndef __QUOTE_FMT_H__
2001-06-06 00:56:48 +02:00
2001-11-07 11:29:45 +01:00
#define __QUOTE_FMT_H__
2001-06-06 00:56:48 +02:00
#ifdef USE_ENCHANT
#include "gtkaspell.h"
#endif
2001-11-07 11:29:45 +01:00
#define quote_fmt_parse quote_fmtparse
2001-06-06 00:56:48 +02:00
void quote_fmt_quote_description(GtkWidget *widget, GtkWidget *pref_window);
2001-11-07 11:29:45 +01:00
gchar *quote_fmt_get_buffer(void);
GList *quote_fmt_get_attachments_list(void);
gint quote_fmt_get_line(void);
#ifdef USE_ENCHANT
2002-02-11 14:43:37 +01:00
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
2001-11-07 11:29:45 +01:00
gint quote_fmtparse(void);
void quote_fmt_scan_string(const gchar *str);
void quote_fmt_reset_vartable(void);
2004-06-25 10:05:09 +02:00
gint quote_fmt_get_cursor_pos(void);
2004-05-10 12:22:28 +02:00
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);
2001-11-07 11:29:45 +01:00
#endif /* __QUOTE_FMT_H__ */