-
-}
-
-
-static gint
-gtk_math_view_bonobo_load_from_file(BonoboPresistFile *pf,
- const CORBA_char *filename,
- CORBA_Environment *ev,
- void *closure)
-{
- Bonobo_PersistStream ps = closure;
- BonoboStream *stream;
-
- g_return_val_if_fail (data != NULL, -1);
- //FIXME: controllo del tipo di dato in input
-
- stram = bonobo_stream_open(
- BONOBO_IO_DRIVER_FS,
- filename,Bonobo_STORAGE_READ,
- 0);
- if(!stream)
- return 0;
-
- //FIXME:I have to extract content type from file
-
-
- Bonobo_PersistStream_load(ps, type, ev);
-
- return 1; //return 1 on success
-}
-
-static gint
-gtk_math_view_bonobo_save_to_file(BonoboPresistFile *pf,
- const CORBA_char *filename,
- CORBA_Environment *ev,
- void *closure)