BonoboPersistFile

Name

BonoboPersistFile -- 

Synopsis



#define     BONOBO_PERSIST_FILE_TYPE
#define     BONOBO_PERSIST_FILE             (o)
#define     BONOBO_PERSIST_FILE_CLASS       (k)
#define     BONOBO_IS_PERSIST_FILE          (o)
#define     BONOBO_IS_PERSIST_FILE_CLASS    (k)
struct      BonoboPersistFile;
int         (*BonoboPersistFileIOFn)        (BonoboPersistFile *pf,
                                             const CORBA_char *filename,
                                             CORBA_Environment *ev,
                                             void *closure);
typedef     BonoboPersistFileClass;
void        bonobo_persist_file_set_dirty   (BonoboPersistFile *ps,
                                             gboolean dirty);
BonoboPersistFile* bonobo_persist_file_new  (BonoboPersistFileIOFn load_fn,
                                             BonoboPersistFileIOFn save_fn,
                                             void *closure);
BonoboPersistFile* bonobo_persist_file_construct
                                            (BonoboPersistFile *ps,
                                             Bonobo_PersistFile corba_ps,
                                             BonoboPersistFileIOFn load_fn,
                                             BonoboPersistFileIOFn save_fn,
                                             void *closure);
POA_Bonobo_PersistFile__epv* bonobo_persist_file_get_epv
                                            (void);

Description

Details

BONOBO_PERSIST_FILE_TYPE

#define BONOBO_PERSIST_FILE_TYPE (bonobo_persist_file_get_type ())


BONOBO_PERSIST_FILE()

#define BONOBO_PERSIST_FILE(o)   (GTK_CHECK_CAST ((o), BONOBO_PERSIST_FILE_TYPE, BonoboPersistFile))

o : 


BONOBO_PERSIST_FILE_CLASS()

#define BONOBO_PERSIST_FILE_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), BONOBO_PERSIST_FILE_TYPE, BonoboPersistFileClass))

k : 


BONOBO_IS_PERSIST_FILE()

#define BONOBO_IS_PERSIST_FILE(o)       (GTK_CHECK_TYPE ((o), BONOBO_PERSIST_FILE_TYPE))

o : 


BONOBO_IS_PERSIST_FILE_CLASS()

#define BONOBO_IS_PERSIST_FILE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), BONOBO_PERSIST_FILE_TYPE))

k : 


struct BonoboPersistFile

struct BonoboPersistFile;


BonoboPersistFileIOFn ()

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

pf : 
filename : 
ev : 
closure : 
Returns : 


BonoboPersistFileClass

typedef struct {
	BonoboPersistClass parent_class;

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

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

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

} BonoboPersistFileClass;


bonobo_persist_file_set_dirty ()

void        bonobo_persist_file_set_dirty   (BonoboPersistFile *ps,
                                             gboolean dirty);

ps : 
dirty : 


bonobo_persist_file_new ()

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

load_fn : 
save_fn : 
closure : 
Returns : 


bonobo_persist_file_construct ()

BonoboPersistFile* bonobo_persist_file_construct
                                            (BonoboPersistFile *ps,
                                             Bonobo_PersistFile corba_ps,
                                             BonoboPersistFileIOFn load_fn,
                                             BonoboPersistFileIOFn save_fn,
                                             void *closure);

ps : 
corba_ps : 
load_fn : 
save_fn : 
closure : 
Returns : 


bonobo_persist_file_get_epv ()

POA_Bonobo_PersistFile__epv* bonobo_persist_file_get_epv
                                            (void);

Returns :