http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.00.tar.gz
[xscreensaver] / driver / demo-Gtk-conf.h
1 /* demo-Gtk-conf.c --- implements the dynamic configuration dialogs.
2  * xscreensaver, Copyright (c) 2001 Jamie Zawinski <jwz@jwz.org>
3  *
4  * Permission to use, copy, modify, distribute, and sell this software and its
5  * documentation for any purpose is hereby granted without fee, provided that
6  * the above copyright notice appear in all copies and that both that
7  * copyright notice and this permission notice appear in supporting
8  * documentation.  No representations are made about the suitability of this
9  * software for any purpose.  It is provided "as is" without express or 
10  * implied warranty.
11  */
12
13 #ifndef _DEMO_GTK_CONF_H_
14 #define _DEMO_GTK_CONF_H_
15
16 typedef struct {
17   GtkWidget *widget;  /* the container widget with the sliders and stuff. */
18   GList *parameters;  /* internal data -- hands off */
19   char *progname;
20   char *progclass;
21   char *description;
22 } conf_data;
23
24 extern conf_data *load_configurator (const char *cmd_line, gboolean verbose_p);
25 extern char *get_configurator_command_line (conf_data *);
26 extern void  set_configurator_command_line (conf_data *, const char *cmd_line);
27 extern void free_conf_data (conf_data *);
28
29 #endif /* _DEMO_GTK_CONF_H_ */