* Show a "Pasting" banner when moving messages
[modest] / src / modest-tny-folder.h
index 97977fc..b013d87 100644 (file)
@@ -178,6 +178,20 @@ TnyAccount *modest_tny_folder_get_account (TnyFolder *folder);
  **/
 gchar* modest_tny_folder_get_header_unique_id (TnyHeader *header);
 
+/**
+ * modest_tny_folder_has_subfolder_with_name:
+ * @folder: a #TnyFolderStore 
+ * @name: the name to check into subfolders.
+ *   
+ * This function check if subfolders of @folder has the same
+ * name as @name.
+ *
+ * Returns: TRUE if some subfolder has the name @name.
+ **/
+gboolean modest_tny_folder_has_subfolder_with_name (TnyFolderStore *folder,
+                                                   const gchar *name);
+
+
 G_END_DECLS
 
 #endif /* __MODEST_TNY_FOLDER_H__*/