r328: Changed the install script so that the CVS directories don't get installed.
[rox-filer.git] / ROX-Filer / src / options.h
blob1fe693f4b65f199048541eadc7dc4af88208dc46
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
6 */
8 #ifndef _OPTIONS_H
9 #define _OPTIONS_H
11 typedef char *OptionFunc(char *value);
13 typedef struct _OptionsSection OptionsSection;
15 struct _OptionsSection
17 char *name;
18 GtkWidget *(*create)(void); /* Create widgets */
19 void (*update)(void); /* Update widgets */
20 void (*set)(void); /* Read values from widgets */
21 void (*save)(void); /* Save values to Choices */
24 extern GSList *options_sections;
26 /* Prototypes */
28 void options_init(void);
29 void option_register(char *key, OptionFunc *func);
30 void options_load(void);
31 void options_show(void);
32 void option_write(char *name, char *value);
34 #endif /* _OPTIONS_H */