http://ftp.nluug.nl/pub/os/Linux/distr/pardusrepo/sources/xscreensaver-5.02.tar.gz
[xscreensaver] / driver / prefs.h
1 /* xscreensaver, Copyright (c) 1993-2006 Jamie Zawinski <jwz@jwz.org>
2  *
3  * Permission to use, copy, modify, distribute, and sell this software and its
4  * documentation for any purpose is hereby granted without fee, provided that
5  * the above copyright notice appear in all copies and that both that
6  * copyright notice and this permission notice appear in supporting
7  * documentation.  No representations are made about the suitability of this
8  * software for any purpose.  It is provided "as is" without express or 
9  * implied warranty.
10  */
11
12 #ifndef __XSCREENSAVER_PREFS_H__
13 #define __XSCREENSAVER_PREFS_H__
14
15 #include "types.h"
16
17 extern void load_init_file (Display *, saver_preferences *);
18 extern Bool init_file_changed_p (saver_preferences *);
19 extern int write_init_file (Display *,
20                             saver_preferences *, const char *version_string,
21                             Bool verbose_p);
22 const char *init_file_name (void);
23
24 extern screenhack *parse_screenhack (const char *line);
25 extern void free_screenhack (screenhack *);
26 extern char *format_hack (Display *, screenhack *, Bool wrap_p);
27 char *make_hack_name (Display *, const char *shell_command);
28
29 /* From dpms.c */
30 extern void sync_server_dpms_settings (Display *, Bool enabled_p,
31                                        int standby_secs, int suspend_secs,
32                                        int off_secs,
33                                        Bool verbose_p);
34
35 #endif /* __XSCREENSAVER_PREFS_H__ */