summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobpull.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-06-29 16:26:13 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:37 +0200
commit918cebfd9b96b22179b4685d94e72b6c97090eb3 (patch)
treeeb9e5b61359da95110cc68626b3504d82b22b079 /daemon/gvfsjobpull.h
parent17a008f395c438c0dad394523cc3d62261ceca4a (diff)
downloadgvfs-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/gvfsjobpull.h')
-rw-r--r--daemon/gvfsjobpull.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/daemon/gvfsjobpull.h b/daemon/gvfsjobpull.h
index eb739ea1..6ce7fa7e 100644
--- a/daemon/gvfsjobpull.h
+++ b/daemon/gvfsjobpull.h
@@ -27,6 +27,7 @@
#include <gvfsjob.h>
#include <gvfsjobdbus.h>
#include <gvfsbackend.h>
+#include <gvfsjobprogress.h>
G_BEGIN_DECLS
@@ -41,20 +42,18 @@ typedef struct _GVfsJobPullClass GVfsJobPullClass;
struct _GVfsJobPull
{
- GVfsJobDBus parent_instance;
+ GVfsJobProgress parent_instance;
GVfsBackend *backend;
char *source;
char *local_path;
GFileCopyFlags flags;
- char *callback_obj_path;
gboolean remove_source;
- gboolean send_progress;
};
struct _GVfsJobPullClass
{
- GVfsJobDBusClass parent_class;
+ GVfsJobProgressClass parent_class;
};
GType g_vfs_job_pull_get_type (void) G_GNUC_CONST;