4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
11 typedef char *OptionFunc(char *value
);
13 /* Take a line from the file and process it. Return NULL on success,
14 * or a pointer to an error string.
16 typedef char *ParseFunc(guchar
*line
);
18 typedef struct _OptionsSection OptionsSection
;
22 struct _OptionsSection
25 GtkWidget
*(*create
)(void); /* Create widgets */
26 void (*update
)(void); /* Update widgets */
27 void (*set
)(void); /* Read values from widgets */
28 void (*save
)(void); /* Save values to Choices */
31 extern GSList
*options_sections
;
35 void options_init(void);
36 void option_register(char *key
, OptionFunc
*func
);
37 void options_load(void);
38 void options_show(FilerWindow
*filer_window
);
39 void option_write(char *name
, char *value
);
40 void parse_file(char *path
, ParseFunc
*parse_line
);
42 #endif /* _OPTIONS_H */