Work to make attachments be opened in a single instance (raise window
[modest] / src / maemo / modest-maemo-utils.h
index e8a1e9b..42cef66 100644 (file)
@@ -90,13 +90,15 @@ gboolean modest_maemo_utils_file_exists (const gchar *filename);
 /**
  * modest_maemo_utils_create_temp_stream:
  * @orig_name: a string with the original name of the extension, or %NULL
+ * @hash_base: if %NULL, subdir will be random. If not, it will be a hash
+ * of this.
  * @path: a string with the created file path
  *
  * Creates a temporary fs stream, in a random subdir of /tmp or /var/tmp.
  *
  * Returns: a #TnyFsStream, or %NULL if operation failed.
  */
-TnyFsStream *modest_maemo_utils_create_temp_stream (const gchar *orig_name, gchar **path);
+TnyFsStream *modest_maemo_utils_create_temp_stream (const gchar *orig_name, const gchar *hash_base, gchar **path);
 
 /**
  * modest_maemo_utils_get_supported_secure_authentication_methods: