-GtkWidget *modest_maemo_utils_create_captioned (GtkSizeGroup *title_size_group,
- GtkSizeGroup *value_size_group,
- const gchar *title,
- gboolean use_markup,
- GtkWidget *control);
-
-GtkWidget *modest_maemo_utils_create_captioned_with_size_type (GtkSizeGroup *title_size_group,
- GtkSizeGroup *value_size_group,
- const gchar *title,
- gboolean use_markup,
- GtkWidget *control,
- HildonSizeType size_type);
-
-void modest_maemo_utils_captioned_set_label (GtkWidget *captioned,
- const gchar *new_label,
- gboolean use_markup);
-
-void modest_maemo_utils_set_hbutton_layout (GtkSizeGroup *title_sizegroup,
- GtkSizeGroup *value_sizegroup,
- const gchar *title,
- GtkWidget *button);
-void modest_maemo_utils_set_vbutton_layout (GtkSizeGroup *sizegroup,
- const gchar *title,
- GtkWidget *button);
-
-GtkWidget *modest_maemo_utils_create_group_box (const gchar *label, GtkWidget *contents);
-
-gboolean modest_maemo_utils_select_attachments (GtkWindow *window, TnyList *att_list);
+#ifdef MODEST_PLATFORM_MAEMO
+/**
+ * modest_maemo_utils_in_usb_mode:
+ *
+ * Check if the device is working in mass storage mode
+ *
+ * Returns: returns TRUE if the internal memory of the device is
+ * working in mass storage mode
+ **/
+gboolean modest_maemo_utils_in_usb_mode ();
+#endif
+
+/**
+ * modest_heartbeat_add:
+ * @function: function to call
+ * @userdata: data to pass to @function.
+ *
+ * Adds a function to be called when heartbeat is called. If the
+ * function returns FALSE it is automatically removed from the
+ * list of event sources and will not be called again.
+ *
+ * Returns: the ID (greater than 0) of the event source
+ */
+guint
+modest_heartbeat_add (GSourceFunc function,
+ gpointer userdata);