diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-26 22:49:12 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-26 22:49:12 +0800 |
commit | 47ab2202ba161234ec2790290152f64be0163dd7 (patch) | |
tree | 3abf67438aeb9b509c589d489bb89fd1f90a8d60 /shell/e-storage-set.h | |
parent | 3c89185e9f07621d4b516a8ee5dac9f2d267c87d (diff) | |
download | gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar.gz gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar.zst gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.zip |
Made the storage view update at changes in the storage, and
implemented a BonoboObject for wrapping the Evolution::Storage CORBA
interface. Also fixed a few bugs.
This makes the shell's storage extensibility usable for Evolution
components.
svn path=/trunk/; revision=3219
Diffstat (limited to 'shell/e-storage-set.h')
-rw-r--r-- | shell/e-storage-set.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/shell/e-storage-set.h b/shell/e-storage-set.h index 500f3c31de..e41471764d 100644 --- a/shell/e-storage-set.h +++ b/shell/e-storage-set.h @@ -58,15 +58,13 @@ struct _EStorageSet { struct _EStorageSetClass { GtkObjectClass parent_class; - /* Virtual methods. */ - - void (* add_storage) (EStorageSet *storage_set, EStorage *storage); - void (* remove_storage) (EStorageSet *storage_set, EStorage *storage); - /* Signals. */ - void (* new_storage) (EStorageSet *storage_set, EStorage *storage); - void (* removed_storage) (EStorageSet *storage_set, EStorage *storage); + void (* new_storage) (EStorageSet *storage_set, EStorage *storage); + void (* removed_storage) (EStorageSet *storage_set, EStorage *storage); + /* FIXME? Inconsistency between storage and folders. */ + void (* new_folder) (EStorageSet *storage_set, const char *path); + void (* removed_folder) (EStorageSet *storage_set, const char *path); }; @@ -75,9 +73,9 @@ void e_storage_set_construct (EStorageSet *storage_set, EFolderTypeRegistry *folder_type_registry); EStorageSet *e_storage_set_new (EFolderTypeRegistry *folder_type_registry); -void e_storage_set_add_storage (EStorageSet *storage_set, +gboolean e_storage_set_add_storage (EStorageSet *storage_set, EStorage *storage); -void e_storage_set_remove_storage (EStorageSet *storage_set, +gboolean e_storage_set_remove_storage (EStorageSet *storage_set, EStorage *storage); GList *e_storage_set_get_storage_list (EStorageSet *storage_set); |