From 68b391b5c17420988118f2152d90832472bbfc0b Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 8 Jun 2011 02:20:00 +0000 Subject: added a new plug-in API: 'compose-send'. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2886 ee746299-78ed-0310-b773-934348b2243d --- src/plugin.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/plugin.h') diff --git a/src/plugin.h b/src/plugin.h index 26b03242..65497882 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -45,7 +45,7 @@ typedef void (*SylPluginLoadFunc) (void); typedef void (*SylPluginUnloadFunc) (void); typedef void (*SylPluginCallbackFunc) (void); -#define SYL_PLUGIN_INTERFACE_VERSION 0x0107 +#define SYL_PLUGIN_INTERFACE_VERSION 0x0108 struct _SylPlugin { @@ -71,6 +71,13 @@ struct _SylPluginClass const gchar *uri, const gchar *selected_text, MsgInfo *msginfo); + + gboolean (* compose_send) (GObject *obj, + gpointer compose, + gint compose_mode, + gint send_mode, + const gchar *msg_file, + GSList *to_list); }; struct _SylPluginInfo -- cgit v1.2.3