summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:58:09 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:58:09 +0200
commit622a5c0d167556188c38fcde40a42a0dfad9c625 (patch)
tree04f27be7f2a54779e17029ede2554e39c3464aa0 /daemon/gvfsbackend.h
parenta494b809eaf82994108bfbbe5d950fed1a0a8c7c (diff)
gdbus: Core daemon and client port
Port of most of the gvfs core, few bits still missing. Lot of debug prints around, will be removed in further commits. Same amount of TODOs and FIXMEs. Notes: * kill serials? * get rid of mainloops where applicable (copy/move progress callback, enumerator) * fix keyring integration * use gdbus builtin fd passing within gvfsdaemon.c, kill the extra_fd stuff
Diffstat (limited to 'daemon/gvfsbackend.h')
-rw-r--r--daemon/gvfsbackend.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h
index cf4abb64..8ba3d038 100644
--- a/daemon/gvfsbackend.h
+++ b/daemon/gvfsbackend.h
@@ -23,12 +23,10 @@
#ifndef __G_VFS_BACKEND_H__
#define __G_VFS_BACKEND_H__
-#include <dbus/dbus.h>
#include <gio/gio.h>
#include <gvfsdaemon.h>
#include <gvfsjob.h>
#include <gmountspec.h>
-#include <gvfsdbusutils.h>
G_BEGIN_DECLS
@@ -478,10 +476,10 @@ void g_vfs_backend_set_default_location (GVfsBackend *ba
void g_vfs_backend_set_mount_spec (GVfsBackend *backend,
GMountSpec *mount_spec);
void g_vfs_backend_register_mount (GVfsBackend *backend,
- GAsyncDBusCallback callback,
+ GAsyncReadyCallback callback,
gpointer user_data);
void g_vfs_backend_unregister_mount (GVfsBackend *backend,
- GAsyncDBusCallback callback,
+ GAsyncReadyCallback callback,
gpointer user_data);
const char *g_vfs_backend_get_backend_type (GVfsBackend *backend);
const char *g_vfs_backend_get_display_name (GVfsBackend *backend);
@@ -511,6 +509,10 @@ void g_vfs_backend_unmount_with_operation (GVfsBackend *backend,
GAsyncReadyCallback callback,
gpointer user_data);
+gboolean g_vfs_backend_invocation_first_handler (GVfsDBusMount *object,
+ GDBusMethodInvocation *invocation,
+ GVfsBackend *backend);
+
G_END_DECLS
#endif /* __G_VFS_BACKEND_H__ */