summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendarchive.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-03-12 16:19:18 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-03-12 16:19:18 +0000
commit24672e3dd455c3ad8c603fb935408add1578a8d1 (patch)
tree846b3ccf831cf37a455290d6fa16489297a7000a /daemon/gvfsbackendarchive.h
parent14200388351c1bdbd45a70d814b76f108b033c8c (diff)
downloadgvfs-24672e3dd455c3ad8c603fb935408add1578a8d1.tar.gz
Added archive backend from Benjamin Otte Requires libarchive
2008-03-12 Alexander Larsson <alexl@redhat.com> * configure.ac: * daemon/Makefile.am: * daemon/gvfsbackendarchive.[ch]: Added archive backend from Benjamin Otte Requires libarchive svn path=/trunk/; revision=1648
Diffstat (limited to 'daemon/gvfsbackendarchive.h')
-rw-r--r--daemon/gvfsbackendarchive.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/daemon/gvfsbackendarchive.h b/daemon/gvfsbackendarchive.h
new file mode 100644
index 00000000..14526ffc
--- /dev/null
+++ b/daemon/gvfsbackendarchive.h
@@ -0,0 +1,50 @@
+/* GIO - GLib Input, Output and Streaming Library
+ *
+ * Copyright (C) 2008 Benjamin Otte <otte@gnome.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Benjamin Otte <otte@gnome.org>
+ */
+
+#ifndef __G_VFS_BACKEND_ARCHIVE_H__
+#define __G_VFS_BACKEND_ARCHIVE_H__
+
+#include <gvfsbackend.h>
+#include <gmountspec.h>
+
+G_BEGIN_DECLS
+
+#define G_VFS_TYPE_BACKEND_ARCHIVE (g_vfs_backend_archive_get_type ())
+#define G_VFS_BACKEND_ARCHIVE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_VFS_TYPE_BACKEND_ARCHIVE, GVfsBackendArchive))
+#define G_VFS_BACKEND_ARCHIVE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_VFS_TYPE_BACKEND_ARCHIVE, GVfsBackendArchiveClass))
+#define G_VFS_IS_BACKEND_ARCHIVE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_VFS_TYPE_BACKEND_ARCHIVE))
+#define G_VFS_IS_BACKEND_ARCHIVE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_VFS_TYPE_BACKEND_ARCHIVE))
+#define G_VFS_BACKEND_ARCHIVE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_BACKEND_ARCHIVE, GVfsBackendArchiveClass))
+
+typedef struct _GVfsBackendArchive GVfsBackendArchive;
+typedef struct _GVfsBackendArchiveClass GVfsBackendArchiveClass;
+
+struct _GVfsBackendArchiveClass
+{
+ GVfsBackendClass parent_class;
+};
+
+GType g_vfs_backend_archive_get_type (void) G_GNUC_CONST;
+
+G_END_DECLS
+
+#endif /* __G_VFS_BACKEND_ARCHIVE_H__ */