From http://www.jwz.org/xscreensaver/xscreensaver-5.27.tar.gz
[xscreensaver] / driver / prefs.h
1 /* xscreensaver, Copyright (c) 1993-2013 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 extern Bool senescent_p (void);
24
25 extern screenhack *parse_screenhack (const char *line);
26 extern void free_screenhack (screenhack *);
27 extern char *format_hack (Display *, screenhack *, Bool wrap_p);
28 char *make_hack_name (Display *, const char *shell_command);
29
30 /* From dpms.c */
31 extern void sync_server_dpms_settings (Display *, Bool enabled_p, Bool dpms_quickoff_p,
32                                        int standby_secs, int suspend_secs,
33                                        int off_secs,
34                                        Bool verbose_p);
35
36 #endif /* __XSCREENSAVER_PREFS_H__ */