summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobmove.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/gvfsjobmove.h
parent8a0cfc2d443a6383511cd84a2661a6c7a5d8c1d5 (diff)
downloadgvfs-fb8e885e030e4bebd27a864bc2eefc7aec643911.tar.gz
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/gvfsjobmove.h')
-rw-r--r--daemon/gvfsjobmove.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/daemon/gvfsjobmove.h b/daemon/gvfsjobmove.h
new file mode 100644
index 00000000..e844100a
--- /dev/null
+++ b/daemon/gvfsjobmove.h
@@ -0,0 +1,45 @@
+#ifndef __G_VFS_JOB_MOVE_H__
+#define __G_VFS_JOB_MOVE_H__
+
+#include <gio/gfileinfo.h>
+#include <gvfsjob.h>
+#include <gvfsjobdbus.h>
+#include <gvfsbackend.h>
+
+G_BEGIN_DECLS
+
+#define G_VFS_TYPE_JOB_MOVE (g_vfs_job_move_get_type ())
+#define G_VFS_JOB_MOVE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_VFS_TYPE_JOB_MOVE, GVfsJobMove))
+#define G_VFS_JOB_MOVE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_VFS_TYPE_JOB_MOVE, GVfsJobMoveClass))
+#define G_VFS_IS_JOB_MOVE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_VFS_TYPE_JOB_MOVE))
+#define G_VFS_IS_JOB_MOVE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_VFS_TYPE_JOB_MOVE))
+#define G_VFS_JOB_MOVE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_JOB_MOVE, GVfsJobMoveClass))
+
+typedef struct _GVfsJobMoveClass GVfsJobMoveClass;
+
+struct _GVfsJobMove
+{
+ GVfsJobDBus parent_instance;
+
+ GVfsBackend *backend;
+ char *source;
+ char *destination;
+ GFileCopyFlags flags;
+ char *callback_obj_path;
+
+};
+
+struct _GVfsJobMoveClass
+{
+ GVfsJobDBusClass parent_class;
+};
+
+GType g_vfs_job_move_get_type (void) G_GNUC_CONST;
+
+GVfsJob *g_vfs_job_move_new (DBusConnection *connection,
+ DBusMessage *message,
+ GVfsBackend *backend);
+
+G_END_DECLS
+
+#endif /* __G_VFS_JOB_MOVE_H__ */