diff options
Diffstat (limited to 'shell/e-folder-tree.h')
-rw-r--r-- | shell/e-folder-tree.h | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/shell/e-folder-tree.h b/shell/e-folder-tree.h index 59613cbaba..26fa4b13a4 100644 --- a/shell/e-folder-tree.h +++ b/shell/e-folder-tree.h @@ -31,22 +31,27 @@ typedef void (* EFolderDestroyNotify) (EFolderTree *tree, const char *path, vo typedef void (* EFolderTreeForeachFunc) (EFolderTree *tree, const char *path, void *data, void *closure); -EFolderTree *e_folder_tree_new (EFolderDestroyNotify folder_destroy_notify, - void *closure); -void e_folder_tree_destroy (EFolderTree *folder_tree); -gboolean e_folder_tree_add (EFolderTree *folder_tree, - const char *path, - void *data); -gboolean e_folder_tree_remove (EFolderTree *folder_tree, - const char *path); +EFolderTree *e_folder_tree_new (EFolderDestroyNotify folder_destroy_notify, + void *closure); + +void e_folder_tree_destroy (EFolderTree *folder_tree); + +gboolean e_folder_tree_add (EFolderTree *folder_tree, + const char *path, + void *data); +gboolean e_folder_tree_remove (EFolderTree *folder_tree, + const char *path); + +void *e_folder_tree_get_folder (EFolderTree *folder_tree, + const char *path); +GList *e_folder_tree_get_subfolders (EFolderTree *folder_tree, + const char *path); + +void e_folder_tree_foreach (EFolderTree *folder_tree, + EFolderTreeForeachFunc foreach_func, + void *data); -void *e_folder_tree_get_folder (EFolderTree *folder_tree, - const char *path); -GList *e_folder_tree_get_subfolders (EFolderTree *folder_tree, - const char *path); - -void e_folder_tree_foreach (EFolderTree *folder_tree, - EFolderTreeForeachFunc foreach_func, - void *data); +const char *e_folder_tree_get_path_for_data (EFolderTree *folder_tree, + const void *data); #endif /* _E_FOLDER_TREE_H_ */ |