aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-26 22:49:12 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-26 22:49:12 +0800
commit47ab2202ba161234ec2790290152f64be0163dd7 (patch)
tree3abf67438aeb9b509c589d489bb89fd1f90a8d60 /shell/e-storage.h
parent3c89185e9f07621d4b516a8ee5dac9f2d267c87d (diff)
downloadgsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar
gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar.gz
gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar.bz2
gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar.lz
gsoc2013-evolution-47ab2202ba161234ec2790290152f64be0163dd7.tar.xz
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.h')
-rw-r--r--shell/e-storage.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/shell/e-storage.h b/shell/e-storage.h
index 2639497854..478feef5a6 100644
--- a/shell/e-storage.h
+++ b/shell/e-storage.h
@@ -47,7 +47,6 @@ typedef struct _EStoragePrivate EStoragePrivate;
typedef struct _EStorageClass EStorageClass;
#include "e-folder.h"
-#include "e-storage-watcher.h"
struct _EStorage {
GtkObject parent;
@@ -58,11 +57,14 @@ struct _EStorage {
struct _EStorageClass {
GtkObjectClass parent_class;
+ /* Signals. */
+ void * (* new_folder) (EStorage *storage, const char *path);
+ void * (* removed_folder) (EStorage *storage, const char *path);
+
/* Virtual methods. */
- GList * (* list_folders) (EStorage *storage, const char *path);
- EStorageWatcher * (* get_watcher_for_path) (EStorage *storage, const char *path);
- EFolder * (* get_folder) (EStorage *storage, const char *path);
- const char * (* get_name) (EStorage *storage);
+ GList * (* list_folders) (EStorage *storage, const char *path);
+ EFolder * (* get_folder) (EStorage *storage, const char *path);
+ const char * (* get_name) (EStorage *storage);
};
@@ -74,7 +76,6 @@ gboolean e_storage_path_is_relative (const char *path);
gboolean e_storage_path_is_absolute (const char *path);
GList *e_storage_list_folders (EStorage *storage, const char *path);
-EStorageWatcher *e_storage_get_watcher_for_path (EStorage *storage, const char *path);
EFolder *e_storage_get_folder (EStorage *storage, const char *path);
const char *e_storage_get_name (EStorage *storage);