diff options
Diffstat (limited to 'shell/e-storage.c')
-rw-r--r-- | shell/e-storage.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/shell/e-storage.c b/shell/e-storage.c index e38c5e3fbf..f3c48fa97a 100644 --- a/shell/e-storage.c +++ b/shell/e-storage.c @@ -198,6 +198,17 @@ impl_async_remove_folder (EStorage *storage, (* callback) (storage, E_STORAGE_NOTIMPLEMENTED, data); } +static void +impl_async_xfer_folder (EStorage *storage, + const char *source_path, + const char *destination_path, + gboolean remove_source, + EStorageResultCallback callback, + void *data) +{ + (* callback) (storage, E_STORAGE_NOTIMPLEMENTED, data); +} + /* Initialization. */ @@ -216,6 +227,7 @@ class_init (EStorageClass *class) class->get_name = impl_get_name; class->async_create_folder = impl_async_create_folder; class->async_remove_folder = impl_async_remove_folder; + class->async_xfer_folder = impl_async_xfer_folder; signals[NEW_FOLDER] = gtk_signal_new ("new_folder", @@ -420,6 +432,24 @@ e_storage_async_remove_folder (EStorage *storage, (* ES_CLASS (storage)->async_remove_folder) (storage, path, callback, data); } +void +e_storage_async_xfer_folder (EStorage *storage, + const char *source_path, + const char *destination_path, + const gboolean remove_source, + EStorageResultCallback callback, + void *data) +{ + g_return_if_fail (storage != NULL); + g_return_if_fail (E_IS_STORAGE (storage)); + g_return_if_fail (source_path != NULL); + g_return_if_fail (g_path_is_absolute (source_path)); + g_return_if_fail (destination_path != NULL); + g_return_if_fail (g_path_is_absolute (destination_path)); + + (* ES_CLASS (storage)->async_xfer_folder) (storage, source_path, destination_path, remove_source, callback, data); +} + const char * e_storage_result_to_string (EStorageResult result) |