source: trunk/third/bonobo/bonobo/bonobo-object-io.h @ 15509

Revision 15509, 965 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15508, which included commits to RCS files with non-trunk default branches.
Line 
1/**
2 * gnome-object-io.c: Helper routines for loading and saving of objects
3 *
4 * Author:
5 *   Miguel de Icaza (miguel@kernel.org)
6 *
7 * Copyright 1999, Helix Code, Inc.
8 */
9#ifndef _BONOBO_OBJECT_IO_H_
10#define _BONOBO_OBJECT_IO_H_
11
12typedef enum {
13        GNOME_IO_OK,
14       
15        /* Generic error */
16        GNOME_IOERR_GENERAL,
17
18        /* PersistStorage interface not supported by object */
19        GNOME_IOERR_PERSIST_NOT_SUPPORTED
20       
21} GnomeIOStatus;
22
23void            bonobo_persist_stream_save_object_iid  (Bonobo_Stream target,
24                                                        const CORBA_char *object_iid,
25                                                        CORBA_Environment *ev);
26char           *bonobo_persist_stream_load_object_iid  (Bonobo_Stream source);
27GnomeIOStatus   bonobo_persiststream_save_to_stream    (Bonobo_PersistStream pstream,
28                                                        Bonobo_Stream target,
29                                                        const char *object_iid);
30GnomeIOStatus   bonobo_object_save_to_stream           (BonoboObject *object,
31                                                        Bonobo_Stream stream,
32                                                        const char *object_iid);
33
34#endif /* _BONOBO_OBJECT_IO_H_ */
Note: See TracBrowser for help on using the repository browser.