diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-03-22 18:41:44 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-03-22 18:41:44 +0800 |
commit | 2df293b5c71033efdbda28a6236563816ef7e139 (patch) | |
tree | e2392fa3e8a81d1a45467789ed1a089c0df34e8c /shell/e-storage-set.c | |
parent | 7aee2da177ed7eb902537e9d5d88baaeefdc36b5 (diff) | |
download | gsoc2013-evolution-2df293b5c71033efdbda28a6236563816ef7e139.tar.gz gsoc2013-evolution-2df293b5c71033efdbda28a6236563816ef7e139.tar.zst gsoc2013-evolution-2df293b5c71033efdbda28a6236563816ef7e139.zip |
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
Diffstat (limited to 'shell/e-storage-set.c')
-rw-r--r-- | shell/e-storage-set.c | 47 |
1 files changed, 47 insertions, 0 deletions
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 @@ -602,4 +602,51 @@ e_storage_set_get_path_for_physical_uri (EStorageSet *storage_set, } +/** + * 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) |