diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-11-14 15:01:00 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-11-14 15:01:00 +0000 |
commit | e135994506d49b830ef8ce1944452ca680e8dba7 (patch) | |
tree | 7b55bced9cfbe91c90f6aea4cabaf93523087a72 /common | |
parent | d456829b672740e6b5383734615ba3829ab1020a (diff) | |
download | gvfs-e135994506d49b830ef8ce1944452ca680e8dba7.tar.gz |
Add unmount operation and unregister mount mounttracker call
2007-11-14 Alexander Larsson <alexl@redhat.com>
* common/gvfsdaemonprotocol.h:
Add unmount operation and
unregister mount mounttracker call
* client/gdaemonvolume.c:
Implement client side of unmount
* daemon/Makefile.am:
* daemon/gvfsjobunmount.[ch]: Added.
Add unmount job type
* daemon/gvfsbackend.[ch]:
Implement unmount
svn path=/trunk/; revision=1025
Diffstat (limited to 'common')
-rw-r--r-- | common/gvfsdaemonprotocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gvfsdaemonprotocol.h b/common/gvfsdaemonprotocol.h index 600870f0..eef045ea 100644 --- a/common/gvfsdaemonprotocol.h +++ b/common/gvfsdaemonprotocol.h @@ -15,6 +15,7 @@ G_BEGIN_DECLS #define G_VFS_DBUS_MOUNTTRACKER_OP_MOUNT_LOCATION "mountLocation" #define G_VFS_DBUS_MOUNTTRACKER_OP_LIST_MOUNTS "listMounts" #define G_VFS_DBUS_MOUNTTRACKER_OP_REGISTER_MOUNT "registerMount" +#define G_VFS_DBUS_MOUNTTRACKER_OP_UNREGISTER_MOUNT "unregisterMount" #define G_VFS_DBUS_MOUNTTRACKER_OP_LIST_MOUNT_TYPES "listMountTypes" #define G_VFS_DBUS_MOUNTTRACKER_OP_REGISTER_FUSE "registerFuse" #define G_VFS_DBUS_MOUNTTRACKER_SIGNAL_MOUNTED "mounted" @@ -23,6 +24,7 @@ G_BEGIN_DECLS /* Each mount (there might be several in a daemon) implements one of these interfaces for standard i/o operations */ #define G_VFS_DBUS_MOUNT_INTERFACE "org.gtk.vfs.Mount" +#define G_VFS_DBUS_MOUNT_OP_UNMOUNT "Unmount" #define G_VFS_DBUS_MOUNT_OP_OPEN_FOR_READ "OpenForRead" #define G_VFS_DBUS_MOUNT_OP_OPEN_FOR_WRITE "OpenForWrite" #define G_VFS_DBUS_MOUNT_OP_QUERY_INFO "QueryInfo" |