diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 14:02:37 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 14:02:37 +0000 |
commit | 1473b28f830800f87f2e5e47eb65decfc02a73ea (patch) | |
tree | 3394a7a4e672c0c6de4ea6f1788b27d6dbc8ccb0 /daemon/gvfsjobmakedirectory.h | |
parent | 6f3f945edad47f046c50cfd484fc9e99c8f86979 (diff) | |
download | gvfs-1473b28f830800f87f2e5e47eb65decfc02a73ea.tar.gz |
Implement MakeDirectory job and SMB implementation.
Original git commit by Hans Petter Jansson <hpj@cl.no> at 1183541263 +0200
svn path=/trunk/; revision=617
Diffstat (limited to 'daemon/gvfsjobmakedirectory.h')
-rw-r--r-- | daemon/gvfsjobmakedirectory.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/daemon/gvfsjobmakedirectory.h b/daemon/gvfsjobmakedirectory.h new file mode 100644 index 00000000..55915d63 --- /dev/null +++ b/daemon/gvfsjobmakedirectory.h @@ -0,0 +1,41 @@ +#ifndef __G_VFS_JOB_MAKE_DIRECTORY_H__ +#define __G_VFS_JOB_MAKE_DIRECTORY_H__ + +#include <gio/gfileinfo.h> +#include <gvfsjob.h> +#include <gvfsjobdbus.h> +#include <gvfsbackend.h> + +G_BEGIN_DECLS + +#define G_VFS_TYPE_JOB_MAKE_DIRECTORY (g_vfs_job_make_directory_get_type ()) +#define G_VFS_JOB_MAKE_DIRECTORY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_VFS_TYPE_JOB_MAKE_DIRECTORY, GVfsJobMakeDirectory)) +#define G_VFS_JOB_MAKE_DIRECTORY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_VFS_TYPE_JOB_MAKE_DIRECTORY, GVfsJobMakeDirectoryClass)) +#define G_VFS_IS_JOB_MAKE_DIRECTORY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_VFS_TYPE_JOB_MAKE_DIRECTORY)) +#define G_VFS_IS_JOB_MAKE_DIRECTORY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_VFS_TYPE_JOB_MAKE_DIRECTORY)) +#define G_VFS_JOB_MAKE_DIRECTORY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_JOB_MAKE_DIRECTORY, GVfsJobMakeDirectoryClass)) + +typedef struct _GVfsJobMakeDirectoryClass GVfsJobMakeDirectoryClass; + +struct _GVfsJobMakeDirectory +{ + GVfsJobDBus parent_instance; + + GVfsBackend *backend; + char *filename; +}; + +struct _GVfsJobMakeDirectoryClass +{ + GVfsJobDBusClass parent_class; +}; + +GType g_vfs_job_make_directory_get_type (void) G_GNUC_CONST; + +GVfsJob *g_vfs_job_make_directory_new (DBusConnection *connection, + DBusMessage *message, + GVfsBackend *backend); + +G_END_DECLS + +#endif /* __G_VFS_JOB_MAKE_DIRECTORY_H__ */ |