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
|
|
|
|
2008-09-12 18:11:51 +02:00
|
|
|
#ifdef USE_ENCHANT
|
2007-05-22 [wwp] 2.9.2cvs10
* src/compose.c
* src/prefs_template.c
* src/quote_fmt.c
* src/quote_fmt.h
* src/quote_fmt_lex.l
* src/quote_fmt_parse.y
* src/gtk/gtkaspell.c
* src/gtk/gtkaspell.h
Added template/quote format syntactical elements
to show and query:
- current dictionary
%T to show (shows empty if not set or not enabled),
?T and !T to check if the default dictionary is
enabled and set
- current account's default dictionary
%aT to show (empty if not set or not enabled),
?aT and !aT to check if it's enabled and set
- name completion for an address, from the address
book
%ABf, %ABt, %ABc respectively show the full name got
from the address book if From, To or Cc match a single
contact.
?ABf, !ABf, ?ABt, !ABt, ?ABc and !ABc check if completion
matches any contact and if the full name is non-empty.
If From, To or Cc are lists of email addresses, only
the first address will be checked.
In compose.c, fix msginfo's To, Cc and Newsgroup address lists,
that could show a trailing ','.
Also, template/quote_fmt parser now shows the line number in case
of parser error.
2007-05-22 23:36:07 +02:00
|
|
|
#include "gtkaspell.h"
|
2007-05-23 09:51:42 +02:00
|
|
|
#endif
|
2007-05-22 [wwp] 2.9.2cvs10
* src/compose.c
* src/prefs_template.c
* src/quote_fmt.c
* src/quote_fmt.h
* src/quote_fmt_lex.l
* src/quote_fmt_parse.y
* src/gtk/gtkaspell.c
* src/gtk/gtkaspell.h
Added template/quote format syntactical elements
to show and query:
- current dictionary
%T to show (shows empty if not set or not enabled),
?T and !T to check if the default dictionary is
enabled and set
- current account's default dictionary
%aT to show (empty if not set or not enabled),
?aT and !aT to check if it's enabled and set
- name completion for an address, from the address
book
%ABf, %ABt, %ABc respectively show the full name got
from the address book if From, To or Cc match a single
contact.
?ABf, !ABf, ?ABt, !ABt, ?ABc and !ABc check if completion
matches any contact and if the full name is non-empty.
If From, To or Cc are lists of email addresses, only
the first address will be checked.
In compose.c, fix msginfo's To, Cc and Newsgroup address lists,
that could show a trailing ','.
Also, template/quote_fmt parser now shows the line number in case
of parser error.
2007-05-22 23:36:07 +02:00
|
|
|
|
2001-11-07 11:29:45 +01:00
|
|
|
#define quote_fmt_parse quote_fmtparse
|
2001-06-06 00:56:48 +02:00
|
|
|
|
2007-05-31 00:17:38 +02:00
|
|
|
void quote_fmt_quote_description(GtkWidget *widget, GtkWidget *pref_window);
|
2002-02-22 04:08:20 +01:00
|
|
|
|
2001-11-07 11:29:45 +01:00
|
|
|
gchar *quote_fmt_get_buffer(void);
|
2007-10-17 16:57:18 +02:00
|
|
|
GList *quote_fmt_get_attachments_list(void);
|
2007-05-23 19:19:50 +02:00
|
|
|
gint quote_fmt_get_line(void);
|
2008-09-12 18:11:51 +02:00
|
|
|
#ifdef USE_ENCHANT
|
2002-02-11 14:43:37 +01:00
|
|
|
void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
|
2006-10-10 11:50:33 +02:00
|
|
|
const gchar *my_body, gboolean my_dry_run,
|
2007-05-22 [wwp] 2.9.2cvs10
* src/compose.c
* src/prefs_template.c
* src/quote_fmt.c
* src/quote_fmt.h
* src/quote_fmt_lex.l
* src/quote_fmt_parse.y
* src/gtk/gtkaspell.c
* src/gtk/gtkaspell.h
Added template/quote format syntactical elements
to show and query:
- current dictionary
%T to show (shows empty if not set or not enabled),
?T and !T to check if the default dictionary is
enabled and set
- current account's default dictionary
%aT to show (empty if not set or not enabled),
?aT and !aT to check if it's enabled and set
- name completion for an address, from the address
book
%ABf, %ABt, %ABc respectively show the full name got
from the address book if From, To or Cc match a single
contact.
?ABf, !ABf, ?ABt, !ABt, ?ABc and !ABc check if completion
matches any contact and if the full name is non-empty.
If From, To or Cc are lists of email addresses, only
the first address will be checked.
In compose.c, fix msginfo's To, Cc and Newsgroup address lists,
that could show a trailing ','.
Also, template/quote_fmt parser now shows the line number in case
of parser error.
2007-05-22 23:36:07 +02:00
|
|
|
PrefsAccount *account,
|
2008-01-28 10:19:14 +01:00
|
|
|
gboolean escaped_string,
|
2007-05-22 [wwp] 2.9.2cvs10
* src/compose.c
* src/prefs_template.c
* src/quote_fmt.c
* src/quote_fmt.h
* src/quote_fmt_lex.l
* src/quote_fmt_parse.y
* src/gtk/gtkaspell.c
* src/gtk/gtkaspell.h
Added template/quote format syntactical elements
to show and query:
- current dictionary
%T to show (shows empty if not set or not enabled),
?T and !T to check if the default dictionary is
enabled and set
- current account's default dictionary
%aT to show (empty if not set or not enabled),
?aT and !aT to check if it's enabled and set
- name completion for an address, from the address
book
%ABf, %ABt, %ABc respectively show the full name got
from the address book if From, To or Cc match a single
contact.
?ABf, !ABf, ?ABt, !ABt, ?ABc and !ABc check if completion
matches any contact and if the full name is non-empty.
If From, To or Cc are lists of email addresses, only
the first address will be checked.
In compose.c, fix msginfo's To, Cc and Newsgroup address lists,
that could show a trailing ','.
Also, template/quote_fmt parser now shows the line number in case
of parser error.
2007-05-22 23:36:07 +02:00
|
|
|
GtkAspell *gtkaspell);
|
2007-05-23 09:51:42 +02:00
|
|
|
#else
|
|
|
|
void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str,
|
|
|
|
const gchar *my_body, gboolean my_dry_run,
|
2008-01-28 10:19:14 +01:00
|
|
|
PrefsAccount *account,
|
|
|
|
gboolean escaped_string);
|
2007-05-23 09:51:42 +02:00
|
|
|
#endif
|
2001-11-07 11:29:45 +01:00
|
|
|
gint quote_fmtparse(void);
|
|
|
|
void quote_fmt_scan_string(const gchar *str);
|
2006-07-09 00:15:33 +02:00
|
|
|
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
|
|
|
|
2007-05-31 00:17:38 +02:00
|
|
|
void quotefmt_create_new_msg_fmt_widgets(GtkWindow *parent_window,
|
|
|
|
GtkWidget *parent_box,
|
|
|
|
GtkWidget **checkbtn_compose_with_format,
|
2008-03-06 13:56:39 +01:00
|
|
|
GtkWidget **override_from_format,
|
2007-05-31 00:17:38 +02:00
|
|
|
GtkWidget **edit_subject_format,
|
|
|
|
GtkWidget **edit_body_format,
|
2008-03-29 17:17:20 +01:00
|
|
|
gboolean add_info_button,
|
|
|
|
void(*set_defaults_func)(void));
|
2007-05-31 00:17:38 +02:00
|
|
|
void quotefmt_create_reply_fmt_widgets(GtkWindow *parent_window,
|
|
|
|
GtkWidget *parent_box,
|
|
|
|
GtkWidget **checkbtn_reply_with_format,
|
2008-03-06 13:56:39 +01:00
|
|
|
GtkWidget **override_from_format,
|
2007-05-31 00:17:38 +02:00
|
|
|
GtkWidget **edit_reply_quotemark,
|
|
|
|
GtkWidget **edit_reply_format,
|
2008-03-29 17:17:20 +01:00
|
|
|
gboolean add_info_button,
|
|
|
|
void(*set_defaults_func)(void));
|
2007-05-31 00:17:38 +02:00
|
|
|
void quotefmt_create_forward_fmt_widgets(GtkWindow *parent_window,
|
|
|
|
GtkWidget *parent_box,
|
|
|
|
GtkWidget **checkbtn_forward_with_format,
|
2008-03-06 13:56:39 +01:00
|
|
|
GtkWidget **override_from_format,
|
2007-05-31 00:17:38 +02:00
|
|
|
GtkWidget **edit_fw_quotemark,
|
|
|
|
GtkWidget **edit_fw_format,
|
2008-03-29 17:17:20 +01:00
|
|
|
gboolean add_info_button,
|
|
|
|
void(*set_defaults_func)(void));
|
2007-05-31 00:17:38 +02:00
|
|
|
void quotefmt_add_info_button(GtkWindow *parent_window, GtkWidget *parent_box);
|
2008-03-29 17:17:20 +01:00
|
|
|
void quotefmt_add_defaults_button(GtkWindow *parent_window,
|
|
|
|
GtkWidget *parent_box,
|
|
|
|
void(*set_defaults_func)(void));
|
2007-05-31 00:17:38 +02:00
|
|
|
|
|
|
|
void quotefmt_check_new_msg_formats(gboolean use_format,
|
2008-03-06 13:56:39 +01:00
|
|
|
gchar *override_from_fmt,
|
2007-05-31 00:17:38 +02:00
|
|
|
gchar *subject_fmt,
|
|
|
|
gchar *body_fmt);
|
|
|
|
void quotefmt_check_reply_formats(gboolean use_format,
|
2008-03-06 13:56:39 +01:00
|
|
|
gchar *override_from_fmt,
|
2007-06-05 19:28:28 +02:00
|
|
|
gchar *quotation_mark,
|
2007-05-31 00:17:38 +02:00
|
|
|
gchar *body_fmt);
|
|
|
|
void quotefmt_check_forward_formats(gboolean use_format,
|
2008-03-06 13:56:39 +01:00
|
|
|
gchar *override_from_fmt,
|
2007-06-05 19:28:28 +02:00
|
|
|
gchar *quotation_mark,
|
2007-05-31 00:17:38 +02:00
|
|
|
gchar *body_fmt);
|
|
|
|
|
2001-11-07 11:29:45 +01:00
|
|
|
#endif /* __QUOTE_FMT_H__ */
|