* Modified the _get_display_size method to fit with the file management specs
[modest] / src / modest-text-utils.h
index 0a047f4..80e12a0 100644 (file)
@@ -36,6 +36,8 @@
 #include <time.h>
 #include <glib.h>
 
+#define _FM(str) dgettext("hildon-fm",str)
+
 /**
  * modest_text_utils_derived_subject:
  * @subject: a string which contains the original subject
@@ -254,6 +256,19 @@ gchar * modest_text_utils_get_display_size (guint size);
 gboolean     modest_text_utils_validate_email_address (const gchar *email_address);
 
 /**
+ * modest_text_utils_validate_recipient:
+ * @recipient: a string
+ *
+ * validates @recipient as a valid recipient field for header.
+ * It's different from modest_text_utils_validate_email_address()
+ * as it validates a whole recipient, and not only the part between
+ * the &lt; and &gt; symbols.
+ *
+ * Returns: %TRUE if the recipient is valid, FALSE otherwise
+ **/
+gboolean     modest_text_utils_validate_recipient (const gchar *recipient);
+
+/**
  * modest_text_utils_split_addresses_list:
  * @addresses: a string
  *