/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2011 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 "procmsg.h"
#include "procmime.h"
+#ifndef USE_NEW_ADDRBOOK
#include "addressbook.h"
+#endif
#include "prefs_account.h"
#include "undo.h"
#include "toolbar.h"
#endif
#define COMPOSE_CHECK_BEFORE_SEND_HOOKLIST "compose_check_before_send"
+#define COMPOSE_CREATED_HOOKLIST "compose_created"
typedef enum
{
COMPOSE_BCC,
COMPOSE_REPLYTO,
COMPOSE_NEWSGROUPS,
- COMPOSE_FOLLOWUPTO
+ COMPOSE_FOLLOWUPTO,
+ COMPOSE_INREPLYTO
} ComposeEntryType;
typedef enum
COMPOSE_REPLY_WITH_QUOTE,
COMPOSE_REPLY_WITHOUT_QUOTE,
COMPOSE_REPLY_TO_SENDER,
+ COMPOSE_REPLY_TO_ADDRESS,
COMPOSE_FOLLOWUP_AND_REPLY_TO,
COMPOSE_REPLY_TO_SENDER_WITH_QUOTE,
COMPOSE_REPLY_TO_SENDER_WITHOUT_QUOTE,
/* Header */
GtkWidget *table_vbox;
GtkWidget *table;
+ GtkWidget *account_combo;
GtkWidget *subject_entry;
GtkWidget *paned;
EncodingType encoding;
gchar *name;
goffset size;
+ gchar *charset;
};
typedef enum
/* attache_files will be locale encode */
Compose *compose_new (PrefsAccount *account,
const gchar *mailto,
- GPtrArray *attach_files);
+ GList *attach_files);
Compose *compose_new_with_folderitem (PrefsAccount *account,
FolderItem *item,
gboolean compose_draft (gpointer data, guint action);
void compose_toolbar_cb (gint action,
gpointer data);
+void compose_reply_to_address (MessageView *msgview,
+ MsgInfo *msginfo,
+ const gchar *address);
void compose_reply_from_messageview (MessageView *msgview,
GSList *msginfo_list,
guint action);
void compose_clear_exit_drafts (void);
void compose_reopen_exit_drafts (void);
void compose_attach_from_list (Compose *compose, GList *file_list, gboolean free_data);
+void compose_check_for_email_account(Compose *compose);
#endif /* __COMPOSE_H__ */