2007-05-03 Murray Cumming <murrayc@murrayc.com>
[modest] / src / modest-platform.h
index ded8eea..d42bdbc 100644 (file)
@@ -178,7 +178,7 @@ void      modest_platform_run_sort_dialog       (GtkWindow *parent_window,
 /*
  * modest_platform_connect_and_wait:
  * @parent_window: the parent #GtkWindow for any interactive or progress feedback UI.
- * @return value: Whether a connection was make.
+ * @return value: Whether a connection was made.
  * 
  * Attempts to make a connection, possibly showing interactive UI to achieve this.
  * This will return TRUE immediately if a connection is already open.
@@ -186,6 +186,15 @@ void      modest_platform_run_sort_dialog       (GtkWindow *parent_window,
  */            
 gboolean modest_platform_connect_and_wait (GtkWindow *parent_window);
 
+/**
+ * modest_platform_set_update_interval:
+ * @minutes: The number of minutes between updates, or 0 for no updates.
+ * 
+ * Set the number of minutes between automatic updates of email accounts.
+ * The platform will cause the send/receive action to happen repeatedly.
+ **/
+gboolean modest_platform_set_update_interval (guint minutes);
+
 G_END_DECLS
 
 #endif /* __MODEST_PLATFORM_UTILS_H__ */