diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-08-04 02:37:37 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-08-04 02:37:37 +0000 |
commit | aa171f3b5e980cb61f32f8781a5f03453160f7a2 (patch) | |
tree | c21e2f58d8d5fc58f6f82224eec2aa4700f16e28 /src/plugin.h | |
parent | 06355ea9582098d8b363a5ce77b75e7f71922f5e (diff) |
added plug-in APIs.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2653 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/plugin.h')
-rw-r--r-- | src/plugin.h | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/src/plugin.h b/src/plugin.h index d7cf11bc..eb53e0c3 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 0x0105 +#define SYL_PLUGIN_INTERFACE_VERSION 0x0106 struct _SylPlugin { @@ -182,6 +182,14 @@ gint syl_plugin_summary_get_selection_type (void); GSList *syl_plugin_summary_get_selected_msg_list(void); GSList *syl_plugin_summary_get_msg_list (void); +void syl_plugin_summary_redisplay_msg (void); +void syl_plugin_summary_open_msg (void); +void syl_plugin_summary_view_source (void); +void syl_plugin_summary_reedit (void); + +void syl_plugin_summary_update_selected_rows (void); +void syl_plugin_summary_update_by_msgnum (guint msgnum); + /* MessageView */ gpointer syl_plugin_messageview_create_with_new_window (void); @@ -238,4 +246,26 @@ const gchar *syl_plugin_update_check_get_check_url (void); void syl_plugin_update_check_set_jump_url (const gchar *url); const gchar *syl_plugin_update_check_get_jump_url (void); +/* type corresponds to AlertType + * default_value and return value corresponds to AlertValue */ +gint syl_plugin_alertpanel_full (const gchar *title, + const gchar *message, + gint type, + gint default_value, + gboolean can_disable, + const gchar *btn1_label, + const gchar *btn2_label, + const gchar *btn3_label); +gint syl_plugin_alertpanel (const gchar *title, + const gchar *message, + const gchar *btn1_label, + const gchar *btn2_label, + const gchar *btn3_label); +void syl_plugin_alertpanel_message (const gchar *title, + const gchar *message, + gint type); +gint syl_plugin_alertpanel_message_with_disable (const gchar *title, + const gchar *message, + gint type); + #endif /* __PLUGIN_H__ */ |