ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/gnome-vfs2-2.3.8-1.src.rpm
[gnome-vfs-httpcaptive.git] / monikers / bonobo-storage-vfs.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _BONOBO_STORAGE_VFS_H_
3 #define _BONOBO_STORAGE_VFS_H_
4
5 #include <bonobo/bonobo-object.h>
6
7 G_BEGIN_DECLS
8
9 #define BONOBO_STORAGE_VFS_TYPE        (bonobo_storage_vfs_get_type ())
10 #define BONOBO_STORAGE_VFS(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_STORAGE_VFS_TYPE, BonoboStorageVfs))
11 #define BONOBO_STORAGE_VFS_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), BONOBO_STORAGE_VFS_TYPE, BonoboStorageVfsClass))
12 #define BONOBO_IS_STORAGE_VFS(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), BONOBO_STORAGE_VFS_TYPE))
13 #define BONOBO_IS_STORAGE_VFS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BONOBO_STORAGE_VFS_TYPE))
14
15 typedef struct {
16         BonoboObject parent;
17         char        *path;
18 } BonoboStorageVfs;
19
20 typedef struct {
21         BonoboObjectClass       parent_class;
22
23         POA_Bonobo_Storage__epv epv;
24 } BonoboStorageVfsClass;
25
26 GType             bonobo_storage_vfs_get_type (void);
27 BonoboStorageVfs *bonobo_storage_vfs_open     (const char *path,
28                                                Bonobo_Storage_OpenMode mode,
29                                                CORBA_Environment *ev);
30
31 G_END_DECLS
32
33 #endif /* _BONOBO_STORAGE_VFS_H_ */