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 /* 1999-Nov-21 Modified by Jim Knoble <jmknoble@pobox.com>. 13 * Modifications: 14 * 15 * - Made get_boolean_resource() accept a third parameter, default_value, 16 * which determines the result of get_boolean_resource if either (a) 17 * no such resource exists, or (b) the resource value does not conform 18 * to the syntax of a boolean resource. 19 * 20 * - Same for get_integer_resource(). 21 * 22 * - 1999-Dec-24 Trimmed unused functions. 23 */ 24 25 #ifndef __XSCREENSAVER_RESOURCES_H__ 26 #define __XSCREENSAVER_RESOURCES_H__ 27 28 extern char *get_string_resource (char*,char*); 29 extern Bool get_boolean_resource (char*,char*,Bool); 30 extern int get_integer_resource (char*,char*,int); 31 extern double get_float_resource (char*,char*); 32 extern unsigned int get_pixel_resource (char*,char*,Display*,Colormap,unsigned int); 33 34 #endif /* __XSCREENSAVER_RESOURCES_H__ */ 35