18db30ca8Sthorpej/* xscreensaver, Copyright (c) 1992, 1997 Jamie Zawinski <jwz@jwz.org> 28db30ca8Sthorpej * 38db30ca8Sthorpej * Permission to use, copy, modify, distribute, and sell this software and its 48db30ca8Sthorpej * documentation for any purpose is hereby granted without fee, provided that 58db30ca8Sthorpej * the above copyright notice appear in all copies and that both that 68db30ca8Sthorpej * copyright notice and this permission notice appear in supporting 78db30ca8Sthorpej * documentation. No representations are made about the suitability of this 88db30ca8Sthorpej * software for any purpose. It is provided "as is" without express or 98db30ca8Sthorpej * implied warranty. 108db30ca8Sthorpej */ 118db30ca8Sthorpej 12c056561aSmbalmer/* 1999-Nov-21 Modified by Jim Knoble <jmknoble@jmknoble.cx>. 138db30ca8Sthorpej * Modifications: 148db30ca8Sthorpej * 158db30ca8Sthorpej * - Made get_boolean_resource() accept a third parameter, default_value, 168db30ca8Sthorpej * which determines the result of get_boolean_resource if either (a) 178db30ca8Sthorpej * no such resource exists, or (b) the resource value does not conform 188db30ca8Sthorpej * to the syntax of a boolean resource. 198db30ca8Sthorpej * 208db30ca8Sthorpej * - Same for get_integer_resource(). 218db30ca8Sthorpej * 228db30ca8Sthorpej * - 1999-Dec-24 Trimmed unused functions. 238db30ca8Sthorpej */ 248db30ca8Sthorpej 258db30ca8Sthorpej#ifndef __XSCREENSAVER_RESOURCES_H__ 268db30ca8Sthorpej#define __XSCREENSAVER_RESOURCES_H__ 278db30ca8Sthorpej 288db30ca8Sthorpejextern char *get_string_resource (char*,char*); 298db30ca8Sthorpejextern Bool get_boolean_resource (char*,char*,Bool); 308db30ca8Sthorpejextern int get_integer_resource (char*,char*,int); 318db30ca8Sthorpejextern double get_float_resource (char*,char*); 328db30ca8Sthorpejextern unsigned int get_pixel_resource (char*,char*,Display*,Colormap,unsigned int); 338db30ca8Sthorpej 348db30ca8Sthorpej#endif /* __XSCREENSAVER_RESOURCES_H__ */ 35