bonobo-persist-file

bonobo-persist-file

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── BonoboObject
        ╰── BonoboPersist
            ╰── BonoboPersistFile

Description

Functions

BonoboPersistFileIOFn ()

int
(*BonoboPersistFileIOFn) (BonoboPersistFile *pf,
                          const CORBA_char *uri,
                          CORBA_Environment *ev,
                          void *closure);

BonoboPersistFileIOFn is deprecated and should not be used in newly-written code.


bonobo_persist_file_new ()

BonoboPersistFile *
bonobo_persist_file_new (BonoboPersistFileIOFn load_fn,
                         BonoboPersistFileIOFn save_fn,
                         const gchar *iid,
                         void *closure);

bonobo_persist_file_new is deprecated and should not be used in newly-written code.

Creates a BonoboPersistFile object. The load_fn and save_fn parameters might be NULL. If this is the case, the load and save operations are performed by the class load and save methods

Parameters

load_fn

Loading routine

 

save_fn

Saving routine

 

iid

OAF IID of the object this interface is aggregated to

 

closure

Data passed to IO routines.

 

Returns

the BonoboPersistFile.


bonobo_persist_file_construct ()

BonoboPersistFile *
bonobo_persist_file_construct (BonoboPersistFile *pf,
                               BonoboPersistFileIOFn load_fn,
                               BonoboPersistFileIOFn save_fn,
                               const gchar *iid,
                               void *closure);

bonobo_persist_file_construct is deprecated and should not be used in newly-written code.

Initializes the BonoboPersistFile object. The load_fn and save_fn parameters might be NULL. If this is the case, the load and save operations are performed by the class load and save methods

Parameters

pf

A BonoboPersistFile

 

load_fn

Loading routine

 

save_fn

Saving routine

 

iid

OAF IID of the object this interface is aggregated to

 

closure

Data passed to IO routines.

 

Returns

the BonoboPersistFile.

Types and Values

struct BonoboPersistFile

struct BonoboPersistFile;

BonoboPersistFile is deprecated and should not be used in newly-written code.


BonoboPersistFileClass

typedef struct {
	BonoboPersistClass parent_class;

	POA_Bonobo_PersistFile__epv epv;

	/* methods */
	int   (*load)             (BonoboPersistFile *ps,
				   const CORBA_char  *uri,
				   CORBA_Environment *ev);

	int   (*save)             (BonoboPersistFile *ps,
				   const CORBA_char  *uri,
				   CORBA_Environment *ev);

	char *(*get_current_file) (BonoboPersistFile *ps,
				   CORBA_Environment *ev);
} BonoboPersistFileClass;

BonoboPersistFileClass is deprecated and should not be used in newly-written code.