diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-06-29 16:26:13 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:59:37 +0200 |
commit | 918cebfd9b96b22179b4685d94e72b6c97090eb3 (patch) | |
tree | eb9e5b61359da95110cc68626b3504d82b22b079 /daemon/gvfsjobmove.h | |
parent | 17a008f395c438c0dad394523cc3d62261ceca4a (diff) | |
download | gvfs-918cebfd9b96b22179b4685d94e72b6c97090eb3.tar.gz |
gdbus: Make copy progress work
...by turning sync copy calls async and running mainloop for progress
interface skeleton be able to process incoming calls.
Also, new class GVfsJobProgress has been introduced mostly for code sharing.
Diffstat (limited to 'daemon/gvfsjobmove.h')
-rw-r--r-- | daemon/gvfsjobmove.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/daemon/gvfsjobmove.h b/daemon/gvfsjobmove.h index b1eec943..7b189001 100644 --- a/daemon/gvfsjobmove.h +++ b/daemon/gvfsjobmove.h @@ -27,6 +27,7 @@ #include <gvfsjob.h> #include <gvfsjobdbus.h> #include <gvfsbackend.h> +#include <gvfsjobprogress.h> G_BEGIN_DECLS @@ -41,19 +42,17 @@ typedef struct _GVfsJobMoveClass GVfsJobMoveClass; struct _GVfsJobMove { - GVfsJobDBus parent_instance; + GVfsJobProgress parent_instance; GVfsBackend *backend; char *source; char *destination; GFileCopyFlags flags; - char *callback_obj_path; - }; struct _GVfsJobMoveClass { - GVfsJobDBusClass parent_class; + GVfsJobProgressClass parent_class; }; GType g_vfs_job_move_get_type (void) G_GNUC_CONST; |