From 2df293b5c71033efdbda28a6236563816ef7e139 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 22 Mar 2001 10:41:44 +0000 Subject: More DnD work. Now we handle copying and moving of folders, although the hooks to actually make the physical operation happen are missing. Also, fix a stupid cut & paste error in Chris' commit (and re-indent the code a bit to make it match the surrounding style). svn path=/trunk/; revision=8890 --- shell/e-storage-set.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'shell/e-storage-set.c') diff --git a/shell/e-storage-set.c b/shell/e-storage-set.c index 9921fe192c..333ec39c99 100644 --- a/shell/e-storage-set.c +++ b/shell/e-storage-set.c @@ -601,5 +601,52 @@ e_storage_set_get_path_for_physical_uri (EStorageSet *storage_set, return NULL; } + +/** + * e_storage_set_async_copy_folder: + * @storage_set: + * @source_path: + * @destination_path: + * @callback: + * @data: + * + * Copy a folder from @source_path to @destination_path. + **/ +void +e_storage_set_async_copy_folder (EStorageSet *storage_set, + const char *source_path, + const char *destination_path, + EStorageResultCallback callback, + void *data) +{ + g_return_if_fail (storage_set != NULL); + g_return_if_fail (E_IS_STORAGE_SET (storage_set)); + g_return_if_fail (source_path != NULL); + g_return_if_fail (destination_path != NULL); +} + +/** + * e_storage_set_async_move_folder: + * @storage_set: + * @source_path: + * @destination_path: + * @callback: + * @data: + * + * Move a folder from @source_path to @destination_path. + **/ +void +e_storage_set_async_move_folder (EStorageSet *storage_set, + const char *source_path, + const char *destination_path, + EStorageResultCallback callback, + void *data) +{ + g_return_if_fail (storage_set != NULL); + g_return_if_fail (E_IS_STORAGE_SET (storage_set)); + g_return_if_fail (source_path != NULL); + g_return_if_fail (destination_path != NULL); +} + E_MAKE_TYPE (e_storage_set, "EStorageSet", EStorageSet, class_init, init, PARENT_TYPE) -- cgit v1.2.3