aboutsummaryrefslogtreecommitdiff
path: root/src/compose.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2016-06-17 06:11:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2016-06-17 06:11:47 +0000
commitd81f66866effd5f0795601fa58a88e40565bfa21 (patch)
treec12b156bb572e14370f292efd7ed309d4e9755b9 /src/compose.h
parent89a43c24ab66ff65c399a15d394edf14d57c4cf5 (diff)
compose.[ch]: added new public functions.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3510 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/compose.h')
-rw-r--r--src/compose.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/compose.h b/src/compose.h
index ea8c7ade..ba8f9ee9 100644
--- a/src/compose.h
+++ b/src/compose.h
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2016 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
@@ -217,17 +217,17 @@ Compose *compose_new (PrefsAccount *account,
const gchar *mailto,
GPtrArray *attach_files);
-void compose_reply (MsgInfo *msginfo,
+Compose *compose_reply (MsgInfo *msginfo,
FolderItem *item,
ComposeMode mode,
const gchar *body);
-void compose_forward (GSList *mlist,
+Compose *compose_forward (GSList *mlist,
FolderItem *item,
gboolean as_attach,
const gchar *body);
-void compose_redirect (MsgInfo *msginfo,
+Compose *compose_redirect (MsgInfo *msginfo,
FolderItem *item);
-void compose_reedit (MsgInfo *msginfo);
+Compose *compose_reedit (MsgInfo *msginfo);
GList *compose_get_compose_list (void);
@@ -248,4 +248,17 @@ void compose_unblock_modified (Compose *compose);
void compose_reflect_prefs_all (void);
+GtkWidget *compose_get_toolbar (Compose *compose);
+GtkWidget *compose_get_misc_hbox(Compose *compose);
+GtkWidget *compose_get_textview (Compose *compose);
+
+void compose_attach_append (Compose *compose,
+ const gchar *file,
+ const gchar *filename,
+ const gchar *content_type);
+void compose_attach_remove_all (Compose *compose);
+
+gint compose_send (Compose *compose,
+ gboolean close_on_success);
+
#endif /* __COMPOSE_H__ */