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