aboutsummaryrefslogtreecommitdiff
path: root/src/plugin.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-18 07:52:40 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-18 07:52:40 +0000
commit1c5e07140eac1ee51cb0b6bd0949ed3cb6b2e04b (patch)
treee4273659547e4c311115da99768b5cfcfb469f44 /src/plugin.h
parent4211f707092f099744ff2f37207c611e0305b99d (diff)
added new plug-in signals for preferences dialogs (#30)
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3014 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/plugin.h b/src/plugin.h
index c9bd3830..fc8b6dd3 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2011 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2012 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
@@ -27,6 +27,7 @@
#include "procmsg.h"
#include "folder.h"
+#include "filter.h"
/* SylPlugin object */
@@ -88,6 +89,24 @@ struct _SylPluginClass
PrefsAccount *account);
void (* inc_mail_finished) (GObject *obj,
gint new_messages);
+
+ /* Prefs dialogs */
+ void (* prefs_common_open) (GObject *obj,
+ GtkWidget *window);
+ void (* prefs_account_open) (GObject *obj,
+ PrefsAccount *account,
+ GtkWidget *window);
+ void (* prefs_filter_open) (GObject *obj,
+ GtkWidget *window);
+ void (* prefs_filter_edit_open) (GObject *obj,
+ FilterRule *rule,
+ const gchar *header,
+ const gchar *key,
+ GtkWidget *window);
+ void (* prefs_template_open) (GObject *obj,
+ GtkWidget *window);
+ void (* plugin_manager_open) (GObject *obj,
+ GtkWidget *window);
};
struct _SylPluginInfo