diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-12-09 08:55:57 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-12-09 08:55:57 +0800 |
commit | a66eae167484718678ceae7368c167aacb322b38 (patch) | |
tree | 109b1873d637de6411d3aa1bb67fab865ecc2e08 /shell/e-storage.h | |
parent | 25ad3092eb60a6dcdbb810cf684ce6dc8715ac4c (diff) | |
download | gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.gz gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.zst gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.zip |
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
Diffstat (limited to 'shell/e-storage.h')
-rw-r--r-- | shell/e-storage.h | 17 |
1 files changed, 11 insertions, 6 deletions
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 <gtk/gtkobject.h> +#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. */ |