summaryrefslogtreecommitdiff
path: root/daemon/gvfsdaemon.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 10:35:50 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 10:35:50 +0000
commit4311de34b4e46bdca9c650f235fb0ab015a0847f (patch)
tree37d40e4966a2d7b2eac5122e944ba6b673910e97 /daemon/gvfsdaemon.h
parent47f200386b742183ea7a131ef45236e47984be59 (diff)
downloadgvfs-4311de34b4e46bdca9c650f235fb0ab015a0847f.tar.gz
Initial work on the new way to track mountpoints.
Daemon side only. Original git commit by Alexander Larsson <alex@greebo.(none)> at 1165492556 +0100 svn path=/trunk/; revision=219
Diffstat (limited to 'daemon/gvfsdaemon.h')
-rw-r--r--daemon/gvfsdaemon.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/daemon/gvfsdaemon.h b/daemon/gvfsdaemon.h
index 7440d381..405f2332 100644
--- a/daemon/gvfsdaemon.h
+++ b/daemon/gvfsdaemon.h
@@ -2,6 +2,8 @@
#define __G_VFS_DAEMON_H__
#include <glib-object.h>
+#include <gvfsjobsource.h>
+#include <dbus/dbus.h>
G_BEGIN_DECLS
@@ -16,9 +18,6 @@ typedef struct _GVfsDaemon GVfsDaemon;
typedef struct _GVfsDaemonClass GVfsDaemonClass;
typedef struct _GVfsDaemonPrivate GVfsDaemonPrivate;
-/* Placed here to fix circular ref problems in headers */
-typedef struct _GVfsBackend GVfsBackend;
-
struct _GVfsDaemon
{
GObject parent_instance;
@@ -36,9 +35,16 @@ struct _GVfsDaemonClass
GType g_vfs_daemon_get_type (void) G_GNUC_CONST;
-GVfsDaemon *g_vfs_daemon_new (void);
-gboolean g_vfs_daemon_add_backend (GVfsDaemon *daemon,
- GVfsBackend *backend);
+GVfsDaemon *g_vfs_daemon_new (gboolean main_daemon,
+ gboolean replace);
+void g_vfs_daemon_add_job_source (GVfsDaemon *daemon,
+ GVfsJobSource *job_source);
+void g_vfs_daemon_queue_job (GVfsDaemon *daemon,
+ GVfsJob *job);
+gboolean g_vfs_daemon_register_path (GVfsDaemon *daemon,
+ const char *path,
+ DBusObjectPathMessageFunction callback,
+ gpointer user_data);
G_END_DECLS