Add <p> to text-to-html stream, so that wrapping works better.
[modest] / src / hildon2 / modest-maemo-utils.h
index 061ef6c..0066e54 100644 (file)
@@ -38,6 +38,7 @@
 #include "widgets/modest-global-settings-dialog.h"
 #include "widgets/modest-validating-entry.h"
 #include <hildon/hildon-gtk.h>
+#include <hildon/hildon-pannable-area.h>
 
 #define MODEST_MAEMO_UTILS_MYDOCS_ENV "MYDOCSDIR"
 #define MODEST_MAEMO_UTILS_DEFAULT_IMAGE_FOLDER ".images"
@@ -146,4 +147,31 @@ GtkWidget *modest_maemo_utils_create_group_box (const gchar *label, GtkWidget *c
 
 gboolean   modest_maemo_utils_select_attachments (GtkWindow *window, TnyList *att_list, gboolean include_msgs);
 
+#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_maemo_utils_scroll_pannable:
+ * @pannable: a #HildonPannableArea
+ * @horizontal: the amount to scroll in horizontal direction
+ * @vertical: the amount to scroll in vertical direction
+ *
+ * Performs some scrolling over a pannable area. The amount of
+ * scrolling is expressed in step_increments of the pannable area
+ * GtkAdjustments
+ **/
+void
+modest_maemo_utils_scroll_pannable(HildonPannableArea *pannable,
+                                  gint horizontal,
+                                  gint vertical);
+
 #endif /*__MODEST_MAEMO_UTILS_H__*/