aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Storage.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-11 00:54:23 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-11 00:54:23 +0800
commitc1b5780b8a6b033d800fc96deb87012631049090 (patch)
tree2aa2ddf4607dd58e6b8bd8c38e2cc44c1d1a2aa9 /shell/Evolution-Storage.idl
parentcf18d0940f9abbe8bb032d08a0fb33067def30d7 (diff)
downloadgsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.gz
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.bz2
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.lz
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.xz
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.zst
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.zip
Added some tests for the custom storage.
* evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
Diffstat (limited to 'shell/Evolution-Storage.idl')
-rw-r--r--shell/Evolution-Storage.idl21
1 files changed, 21 insertions, 0 deletions
diff --git a/shell/Evolution-Storage.idl b/shell/Evolution-Storage.idl
index be6eaafcab..3660e3d74d 100644
--- a/shell/Evolution-Storage.idl
+++ b/shell/Evolution-Storage.idl
@@ -37,6 +37,13 @@ module Evolution {
string path;
};
+ struct DiscoverSharedFolderResult {
+ Result result;
+ string storagePath;
+ string physicalURI;
+ string type;
+ };
+
/* The name of the storage. */
readonly attribute string name;
@@ -46,6 +53,8 @@ module Evolution {
/* Flat list of the folders in the storage. */
readonly attribute FolderList folderList;
+ /* Folder Operations. */
+
void asyncCreateFolder (in string path,
in string type,
in string description,
@@ -61,11 +70,23 @@ module Evolution {
in boolean remove_source,
in Bonobo::Listener listener);
+ /* Open remote nodes. */
+
void asyncOpenFolder (in string path);
+ /* Set unread count. */
+
void updateFolder (in string path,
in long unread_count);
+ /* Shared folders. */
+
+ void asyncDiscoverSharedFolder (in string user,
+ in string folder_name,
+ in Bonobo::Listener listener);
+
+ /* Listener handling. */
+
void addListener (in StorageListener listener)
raises (AlreadyListening);