From a66eae167484718678ceae7368c167aacb322b38 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 9 Dec 2000 00:55:57 +0000 Subject: Complete the code to associate a URI and a folder type to the toplevel node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878 --- shell/e-storage.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'shell/e-storage.h') diff --git a/shell/e-storage.h b/shell/e-storage.h index d44a4161df..3bddafe73a 100644 --- a/shell/e-storage.h +++ b/shell/e-storage.h @@ -30,6 +30,8 @@ #include +#include "evolution-shell-component-client.h" + #ifdef __cplusplus extern "C" { #pragma } @@ -94,10 +96,12 @@ struct _EStorageClass { }; -GtkType e_storage_get_type (void); -void e_storage_construct (EStorage *storage, - const char *toplevel_node_uri); -EStorage *e_storage_new (const char *toplevel_node_uri); +GtkType e_storage_get_type (void); +void e_storage_construct (EStorage *storage, + const char *toplevel_node_uri, + const char *toplevel_node_type); +EStorage *e_storage_new (const char *toplevel_node_uri, + const char *toplevel_node_type); gboolean e_storage_path_is_relative (const char *path); gboolean e_storage_path_is_absolute (const char *path); @@ -107,8 +111,9 @@ GList *e_storage_get_subfolder_paths (EStorage *storage, EFolder *e_storage_get_folder (EStorage *storage, const char *path); -const char *e_storage_get_name (EStorage *storage); -const char *e_storage_get_toplevel_node_uri (EStorage *storage); +const char *e_storage_get_name (EStorage *storage); +const char *e_storage_get_toplevel_node_uri (EStorage *storage); +const char *e_storage_get_toplevel_node_type (EStorage *storage); /* Folder operations. */ -- cgit