summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-01-08 15:07:59 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-01-08 15:07:59 +0000
commit518a0d444e149bf0fedbd768aa8440417999338e (patch)
tree9a3594954fdeab503fd60dba1cb3fd2d00245552 /daemon/gvfsbackend.h
parent382cd3e2d4c520859e49cf46eb3da5d19a563469 (diff)
downloadgvfs-518a0d444e149bf0fedbd768aa8440417999338e.tar.gz
Add initial computer backend
2008-01-08 Alexander Larsson <alexl@redhat.com> * daemon/Makefile.am: * daemon/computer.mount.in: * daemon/gvfsbackendcomputer.[ch]: Add initial computer backend * daemon/gvfsbackend.h: * daemon/gvfsjobunmountmountable.[ch]: Add umount_mountable calls svn path=/trunk/; revision=1078
Diffstat (limited to 'daemon/gvfsbackend.h')
-rw-r--r--daemon/gvfsbackend.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h
index 744e3a1b..c27eb0ba 100644
--- a/daemon/gvfsbackend.h
+++ b/daemon/gvfsbackend.h
@@ -46,6 +46,7 @@ typedef struct _GVfsBackendClass GVfsBackendClass;
typedef struct _GVfsJobMount GVfsJobMount;
typedef struct _GVfsJobUnmount GVfsJobUnmount;
typedef struct _GVfsJobMountMountable GVfsJobMountMountable;
+typedef struct _GVfsJobUnmountMountable GVfsJobUnmountMountable;
typedef struct _GVfsJobOpenForRead GVfsJobOpenForRead;
typedef struct _GVfsJobSeekRead GVfsJobSeekRead;
typedef struct _GVfsJobCloseRead GVfsJobCloseRead;
@@ -113,6 +114,18 @@ struct _GVfsBackendClass
GVfsJobMountMountable *job,
const char *filename,
GMountSource *mount_source);
+ void (*unmount_mountable) (GVfsBackend *backend,
+ GVfsJobUnmountMountable *job,
+ const char *filename);
+ gboolean (*try_unmount_mountable)(GVfsBackend *backend,
+ GVfsJobUnmountMountable *job,
+ const char *filename);
+ void (*eject_mountable) (GVfsBackend *backend,
+ GVfsJobUnmountMountable *job,
+ const char *filename);
+ gboolean (*try_eject_mountable)(GVfsBackend *backend,
+ GVfsJobUnmountMountable *job,
+ const char *filename);
void (*open_for_read) (GVfsBackend *backend,
GVfsJobOpenForRead *job,
const char *filename);