X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-progress-bar-widget.h;h=24b4d4415147aaa4d9e82297dd0c93fc5f56ca22;hb=2b58f5abfb171a82424c14cd9777ea5ee460db61;hp=f3674e408fc1757f2890c256d671f2a979589b19;hpb=7c0c35878201fec6167f53a941fbf4d9a3ed14d2;p=modest diff --git a/src/maemo/modest-progress-bar-widget.h b/src/maemo/modest-progress-bar-widget.h index f3674e4..24b4d44 100644 --- a/src/maemo/modest-progress-bar-widget.h +++ b/src/maemo/modest-progress-bar-widget.h @@ -31,7 +31,7 @@ #define __MODEST_PROGRESS_BAR_WIDGET_H__ #include -#include +#include "modest-progress-object.h" G_BEGIN_DECLS @@ -67,10 +67,16 @@ typedef enum { /* member functions */ GType modest_progress_bar_widget_get_type (void) G_GNUC_CONST; -GtkWidget* modest_progress_bar_widget_new (); +GtkWidget* modest_progress_bar_widget_new (void); -void modest_progress_bar_widget_set_status (ModestProgressBarWidget *self, guint id); +void modest_progress_bar_widget_set_progress (ModestProgressBarWidget *self, + const gchar *msg, + gint done, + gint total); +void +modest_progress_bar_widget_set_undetermined_progress (ModestProgressBarWidget *self, + ModestMailOperation *mail_op); G_END_DECLS