/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include "toolbar.h"
#include "messageview.h"
#include "codeconv.h"
+#include "template.h"
+#include "textview.h"
#ifdef USE_ASPELL
#include "gtkaspell.h"
gboolean return_receipt;
+ gboolean batch;
+
GSList *to_list;
GSList *newsgroup_list;
guint draft_timeout_tag;
GtkTextTag *no_wrap_tag;
+ GtkTextTag *no_join_tag;
+ GMutex *mutex;
+ gchar *orig_charset;
+ gint set_cursor_pos;
};
struct _AttachInfo
Compose *compose_new_with_list (PrefsAccount *account,
GList *listAddress);
-void compose_reply_mode (ComposeMode mode,
+Compose *compose_reply_mode (ComposeMode mode,
GSList *msginfo_list,
gchar *body);
/* remove */
-void compose_followup_and_reply_to (MsgInfo *msginfo,
+Compose *compose_followup_and_reply_to (MsgInfo *msginfo,
gboolean quote,
gboolean to_all,
gboolean to_sender,
const gchar *body);
-void compose_reply (MsgInfo *msginfo,
+Compose *compose_reply (MsgInfo *msginfo,
gboolean quote,
gboolean to_all,
gboolean to_ml,
MsgInfo *msginfo,
gboolean as_attach,
const gchar *body,
- gboolean no_extedit);
+ gboolean no_extedit,
+ gboolean batch);
Compose *compose_forward_multiple (PrefsAccount *account,
GSList *msginfo_list);
/* remove end */
Compose *compose_redirect (PrefsAccount *account,
- MsgInfo *msginfo);
+ MsgInfo *msginfo,
+ gboolean batch);
void compose_reedit (MsgInfo *msginfo);
GList *compose_get_compose_list (void);
+void compose_template_apply_fields(Compose *compose, Template *tmpl);
+
void compose_entry_append (Compose *compose,
const gchar *address,
ComposeEntryType type);
void compose_reply_from_messageview (MessageView *msgview,
GSList *msginfo_list,
guint action);
+void compose_action_cb (void *data);
+
+void compose_set_position (Compose *compose,
+ gint pos);
+gboolean compose_search_string (Compose *compose,
+ const gchar *str,
+ gboolean case_sens);
+gboolean compose_search_string_backward (Compose *compose,
+ const gchar *str,
+ gboolean case_sens);
#endif /* __COMPOSE_H__ */