aboutsummaryrefslogtreecommitdiff
path: root/src/plugin.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-06-08 02:20:00 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-06-08 02:20:00 +0000
commit68b391b5c17420988118f2152d90832472bbfc0b (patch)
tree071ca7de27edf78e7d82522bd6b9c92265a45dda /src/plugin.h
parent17399356e839cf4a4d6ca12d52086fe01b857881 (diff)
added a new plug-in API: 'compose-send'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2886 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h9
1 files changed, 8 insertions, 1 deletions
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