From 0f618ac4cfae7d62fca7c0468458f55f3e4a3e9f Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 11 Sep 2000 11:12:16 +0000 Subject: Fully support setting the display name in the tree. It seems to work. svn path=/trunk/; revision=5320 --- shell/e-storage.h | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to 'shell/e-storage.h') diff --git a/shell/e-storage.h b/shell/e-storage.h index 7b140bda22..0988e94250 100644 --- a/shell/e-storage.h +++ b/shell/e-storage.h @@ -81,28 +81,31 @@ struct _EStorageClass { /* Virtual methods. */ - GList * (* list_folders) (EStorage *storage, const char *path); - EFolder * (* get_folder) (EStorage *storage, const char *path); - const char * (* get_name) (EStorage *storage); - - void (* async_create_folder) (EStorage *storage, const char *path, - const char *type, const char *description, - EStorageResultCallback callback, void *data); - void (* async_remove_folder) (EStorage *storage, const char *path, - EStorageResultCallback callback, void *data); + GList * (* get_subfolder_paths) (EStorage *storage, const char *path); + EFolder * (* get_folder) (EStorage *storage, const char *path); + const char * (* get_name) (EStorage *storage); + + void (* async_create_folder) (EStorage *storage, const char *path, + const char *type, const char *description, + EStorageResultCallback callback, void *data); + void (* async_remove_folder) (EStorage *storage, const char *path, + EStorageResultCallback callback, void *data); }; -GtkType e_storage_get_type (void); -void e_storage_construct (EStorage *storage); -EStorage *e_storage_new (void); -gboolean e_storage_path_is_relative (const char *path); -gboolean e_storage_path_is_absolute (const char *path); +GtkType e_storage_get_type (void); +void e_storage_construct (EStorage *storage); +EStorage *e_storage_new (void); -GList *e_storage_list_folders (EStorage *storage, const char *path); -EFolder *e_storage_get_folder (EStorage *storage, const char *path); +gboolean e_storage_path_is_relative (const char *path); +gboolean e_storage_path_is_absolute (const char *path); -const char *e_storage_get_name (EStorage *storage); +GList *e_storage_get_subfolder_paths (EStorage *storage, + const char *path); +EFolder *e_storage_get_folder (EStorage *storage, + const char *path); + +const char *e_storage_get_name (EStorage *storage); /* Folder operations. */ -- cgit