1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * bonobo-stream-fs.c: Sample file-system based Stream implementation
5 * This is just a sample file-system based Stream implementation.
6 * it is only used for debugging purposes
9 * Miguel de Icaza (miguel@gnu.org)
11 #ifndef _BONOBO_STREAM_FS_H_
12 #define _BONOBO_STREAM_FS_H_
14 #include <bonobo/bonobo-object.h>
18 #define BONOBO_STREAM_FS_TYPE (bonobo_stream_fs_get_type ())
19 #define BONOBO_STREAM_FS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_STREAM_FS_TYPE, BonoboStreamFS))
20 #define BONOBO_STREAM_FS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BONOBO_STREAM_FS_TYPE, BonoboStreamFSClass))
21 #define BONOBO_IS_STREAM_FS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BONOBO_STREAM_FS_TYPE))
22 #define BONOBO_IS_STREAM_FS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BONOBO_STREAM_FS_TYPE))
24 typedef struct _BonoboStreamFS BonoboStreamFS;
25 typedef struct _BonoboStreamFSPrivate BonoboStreamFSPrivate;
27 struct _BonoboStreamFS {
32 BonoboStreamFSPrivate *priv;
36 BonoboObjectClass parent_class;
38 POA_Bonobo_Stream__epv epv;
39 } BonoboStreamFSClass;
41 GType bonobo_stream_fs_get_type (void);
42 BonoboStreamFS *bonobo_stream_fs_open (const char *path,
43 gint flags, gint mode,
44 CORBA_Environment *ev);
48 #endif /* _BONOBO_STREAM_FS_H_ */