summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:05:23 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:05:23 +0000
commitfb8e885e030e4bebd27a864bc2eefc7aec643911 (patch)
treedb3e562d5b1d783a0dd45fee372bfcfef1e34ab1 /daemon/gvfsbackend.h
parent8a0cfc2d443a6383511cd84a2661a6c7a5d8c1d5 (diff)
Add move support to daemon
Original git commit by Alexander Larsson <alexl@redhat.com> at 1183552446 +0200 svn path=/trunk/; revision=625
Diffstat (limited to 'daemon/gvfsbackend.h')
-rw-r--r--daemon/gvfsbackend.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h
index f531a7b6..e4b99f68 100644
--- a/daemon/gvfsbackend.h
+++ b/daemon/gvfsbackend.h
@@ -41,6 +41,7 @@ typedef struct _GVfsJobTrash GVfsJobTrash;
typedef struct _GVfsJobDelete GVfsJobDelete;
typedef struct _GVfsJobMakeDirectory GVfsJobMakeDirectory;
typedef struct _GVfsJobCopy GVfsJobCopy;
+typedef struct _GVfsJobMove GVfsJobMove;
typedef gpointer GVfsBackendHandle;
@@ -231,6 +232,20 @@ struct _GVfsBackendClass
GFileCopyFlags flags,
GFileProgressCallback progress_callback,
gpointer progress_callback_data);
+ void (*move) (GVfsBackend *backend,
+ GVfsJobCopy *job,
+ const char *source,
+ const char *destination,
+ GFileCopyFlags flags,
+ GFileProgressCallback progress_callback,
+ gpointer progress_callback_data);
+ gboolean (*try_move) (GVfsBackend *backend,
+ GVfsJobCopy *job,
+ const char *source,
+ const char *destination,
+ GFileCopyFlags flags,
+ GFileProgressCallback progress_callback,
+ gpointer progress_callback_data);
};
GType g_vfs_backend_get_type (void) G_GNUC_CONST;