http://ftp.x.org/contrib/applications/xscreensaver-3.20.tar.gz
[xscreensaver] / utils / resources.h
1 /* xscreensaver, Copyright (c) 1992, 1997 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_RESOURCES_H__
13 #define __XSCREENSAVER_RESOURCES_H__
14
15 extern char *get_string_resource (char*,char*);
16 extern Bool get_boolean_resource (char*,char*);
17 extern int get_integer_resource (char*,char*);
18 extern double get_float_resource (char*,char*);
19 extern unsigned int get_pixel_resource (char*,char*,Display*,Colormap);
20 extern unsigned int get_minutes_resource (char*,char*);
21 extern unsigned int get_seconds_resource (char*,char*);
22 extern int parse_time (const char *string, Bool seconds_default_p,
23                        Bool silent_p);
24
25 #endif /* __XSCREENSAVER_RESOURCES_H__ */