aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-03-22 20:47:16 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-03-22 20:47:16 +0800
commit03765ef0bb21fb7d98af1dd8d72a76e683a26a2f (patch)
treed78acece44e41498a8cb63c42bb5b483e87d67eb /shell/e-storage.h
parent2282cef752462976015bffebcce0640457431309 (diff)
downloadgsoc2013-evolution-03765ef0bb21fb7d98af1dd8d72a76e683a26a2f.tar.gz
gsoc2013-evolution-03765ef0bb21fb7d98af1dd8d72a76e683a26a2f.tar.zst
gsoc2013-evolution-03765ef0bb21fb7d98af1dd8d72a76e683a26a2f.zip
Added an xfer method to `EStorage' and `GNOME::Evolution::Storage'.
svn path=/trunk/; revision=8894
Diffstat (limited to 'shell/e-storage.h')
-rw-r--r--shell/e-storage.h53
1 files changed, 36 insertions, 17 deletions
diff --git a/shell/e-storage.h b/shell/e-storage.h
index a6716d7262..5a986a5b1a 100644
--- a/shell/e-storage.h
+++ b/shell/e-storage.h
@@ -84,11 +84,24 @@ struct _EStorageClass {
EFolder * (* get_folder) (EStorage *storage, const char *path);
const char * (* get_name) (EStorage *storage);
- void (* async_create_folder) (EStorage *storage, const char *path,
- const char *type, const char *description,
- EStorageResultCallback callback, void *data);
- void (* async_remove_folder) (EStorage *storage, const char *path,
- EStorageResultCallback callback, void *data);
+ void (* async_create_folder) (EStorage *storage,
+ const char *path,
+ const char *type,
+ const char *description,
+ EStorageResultCallback callback,
+ void *data);
+
+ void (* async_remove_folder) (EStorage *storage,
+ const char *path,
+ EStorageResultCallback callback,
+ void *data);
+
+ void (* async_xfer_folder) (EStorage *storage,
+ const char *source_path,
+ const char *destination_path,
+ const gboolean remove_source,
+ EStorageResultCallback callback,
+ void *data);
};
@@ -113,18 +126,24 @@ const char *e_storage_get_toplevel_node_type (EStorage *storage);
/* Folder operations. */
-void e_storage_async_create_folder (EStorage *storage,
- const char *path,
- const char *type,
- const char *description,
- EStorageResultCallback callback,
- void *data);
-void e_storage_async_remove_folder (EStorage *storage,
- const char *path,
- EStorageResultCallback callback,
- void *data);
-
-const char *e_storage_result_to_string (EStorageResult result);
+void e_storage_async_create_folder (EStorage *storage,
+ const char *path,
+ const char *type,
+ const char *description,
+ EStorageResultCallback callback,
+ void *data);
+void e_storage_async_remove_folder (EStorage *storage,
+ const char *path,
+ EStorageResultCallback callback,
+ void *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);
+
+const char *e_storage_result_to_string (EStorageResult result);
/* Utility functions. */