diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-09-09 07:19:52 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-09-09 07:19:52 +0000 |
commit | f7ca35cbcbb20c446d2fc392adcb67bf3ccacc77 (patch) | |
tree | 23096150e8bea463a5b7ff6d4e63eaa7eee1b9b8 /libsylph/utils.h | |
parent | 1bddee29d23efedb91b43a1fa6667090a52f54f9 (diff) |
update progress bar when executing long IMAP4 operations.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@567 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index 8d257366..d367f362 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -177,6 +177,8 @@ gint g_chmod (const gchar *path, } typedef void (*UIUpdateFunc) (void); +typedef void (*ProgressFunc) (gint cur, + gint total); typedef gchar * (*QueryPasswordFunc) (const gchar *server, const gchar *user); typedef void (*LogFunc) (const gchar *str); @@ -475,7 +477,11 @@ size_t my_strftime (gchar *s, /* UI hints */ void set_ui_update_func (UIUpdateFunc func); -void ui_update(void); +void ui_update (void); + +void set_progress_func (ProgressFunc func); +void progress_show (gint cur, + gint total); /* user input */ void set_input_query_password_func (QueryPasswordFunc func); |