globals.h revision 8b6d6341
1/* $XConsortium: globals.h,v 1.9 94/04/17 20:43:51 dave Exp $ */ 2/* 3 4Copyright (c) 1987, 1988 X Consortium 5 6Permission is hereby granted, free of charge, to any person obtaining 7a copy of this software and associated documentation files (the 8"Software"), to deal in the Software without restriction, including 9without limitation the rights to use, copy, modify, merge, publish, 10distribute, sublicense, and/or sell copies of the Software, and to 11permit persons to whom the Software is furnished to do so, subject to 12the following conditions: 13 14The above copyright notice and this permission notice shall be included 15in all copies or substantial portions of the Software. 16 17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR 21OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 22ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23OTHER DEALINGS IN THE SOFTWARE. 24 25Except as contained in this notice, the name of the X Consortium shall 26not be used in advertising or otherwise to promote the sale, use or 27other dealings in this Software without prior written authorization 28from the X Consortium. 29 30*/ 31/* $XFree86$ */ 32 33#ifndef _globals_h 34#define _globals_h 35 36#include "man.h" 37 38extern Xman_Resources resources; /* Resource manager sets these. */ 39 40/* bookkeeping global variables. */ 41 42extern Widget help_widget; /* The help widget. */ 43 44extern int default_height,default_width; /* Approximately the default with and 45 height, of the manpage when shown, 46 the the top level manual page 47 window */ 48extern int man_pages_shown; /* The current number of manual 49 pages being shown, if 0 we exit. */ 50 51extern Manual * manual; /* The manual structure. */ 52extern int sections; /* The number of manual sections. */ 53 54extern XContext manglobals_context; /* The context for man_globals. */ 55 56extern Widget initial_widget; /* The initial widget, never realized. */ 57 58extern char **saved_argv; 59extern int saved_argc; 60 61extern Atom wm_delete_window; 62 63extern Widget top; 64 65#endif /* _globals_h */ 66