aboutsummaryrefslogtreecommitdiff
path: root/src/plugin.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-06 08:42:40 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-06 08:42:40 +0000
commit07d534bd00afb989cfd472eb22f463d31be71b03 (patch)
tree76ec992f3c508b790d9f5ae4b7471ed18aaee7c0 /src/plugin.h
parenta66da11c866424de50962209f38708a15b61b2d3 (diff)
added new plug-in signals to notify start and end of receiving.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3005 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugin.h b/src/plugin.h
index f966fd69..c9bd3830 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 0x0108
+#define SYL_PLUGIN_INTERFACE_VERSION 0x0109
struct _SylPlugin
{
@@ -83,6 +83,11 @@ struct _SylPluginClass
gpointer msgview,
MsgInfo *msginfo,
gboolean all_headers);
+
+ void (* inc_mail_start) (GObject *obj,
+ PrefsAccount *account);
+ void (* inc_mail_finished) (GObject *obj,
+ gint new_messages);
};
struct _SylPluginInfo