VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/site.h@ 67129

最後變更 在這個檔案從67129是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 5.0 KB
 
1/* $Xorg: site.h,v 1.6 2001/02/09 02:05:16 xorgcvs Exp $ */
2/************************************************************
3
4Copyright 1987, 1998 The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25
26
27Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
28
29 All Rights Reserved
30
31Permission to use, copy, modify, and distribute this software and its
32documentation for any purpose and without fee is hereby granted,
33provided that the above copyright notice appear in all copies and that
34both that copyright notice and this permission notice appear in
35supporting documentation, and that the name of Digital not be
36used in advertising or publicity pertaining to distribution of the
37software without specific, written prior permission.
38
39DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
40ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
41DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
42ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
43WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
44ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45SOFTWARE.
46
47********************************************************/
48/* $XFree86: xc/programs/Xserver/include/site.h,v 1.8 2001/12/19 21:37:35 dawes Exp $ */
49
50#ifndef SITE_H
51#define SITE_H
52/*
53 * The vendor string identifies the vendor responsible for the
54 * server executable.
55 */
56#ifndef VENDOR_STRING
57#define VENDOR_STRING "The X.Org Group"
58#endif
59
60/*
61 * The vendor release number identifies, for the purpose of submitting
62 * traceable bug reports, the release number of software produced
63 * by the vendor.
64 */
65#ifndef VENDOR_RELEASE
66#define VENDOR_RELEASE 6600
67#endif
68
69/*
70 * The following constants are provided solely as a last line of defense. The
71 * normal build ALWAYS overrides them using a special rule given in
72 * server/dix/Imakefile. If you want to change either of these constants,
73 * you should set the DefaultFontPath or DefaultRGBDatabase configuration
74 * parameters.
75 * DO NOT CHANGE THESE VALUES OR THE DIX IMAKEFILE!
76 */
77#ifndef COMPILEDDEFAULTFONTPATH
78#define COMPILEDDEFAULTFONTPATH "/usr/lib/X11/fonts/misc/"
79#endif
80#ifndef RGB_DB
81#define RGB_DB "/usr/lib/X11/rgb"
82#endif
83
84/*
85 * The following constants contain default values for all of the variables
86 * that can be initialized on the server command line or in the environment.
87 */
88#define COMPILEDDEFAULTFONT "fixed"
89#define COMPILEDCURSORFONT "cursor"
90#ifndef COMPILEDDISPLAYCLASS
91#define COMPILEDDISPLAYCLASS "MIT-unspecified"
92#endif
93#define DEFAULT_TIMEOUT 60 /* seconds */
94#define DEFAULT_KEYBOARD_CLICK 0
95#define DEFAULT_BELL 50
96#define DEFAULT_BELL_PITCH 400
97#define DEFAULT_BELL_DURATION 100
98#ifdef XKB
99#define DEFAULT_AUTOREPEAT TRUE
100#else
101#define DEFAULT_AUTOREPEAT FALSE
102#endif
103#define DEFAULT_AUTOREPEATS {\
104 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
105 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
106 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
107 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
108
109#define DEFAULT_LEDS 0x0 /* all off */
110#define DEFAULT_LEDS_MASK 0xffffffff /* 32 */
111#define DEFAULT_INT_RESOLUTION 1000
112#define DEFAULT_INT_MIN_VALUE 0
113#define DEFAULT_INT_MAX_VALUE 100
114#define DEFAULT_INT_DISPLAYED 0
115
116#define DEFAULT_PTR_NUMERATOR 2
117#define DEFAULT_PTR_DENOMINATOR 1
118#define DEFAULT_PTR_THRESHOLD 4
119
120#define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
121#define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
122#define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
123#define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
124#ifndef NOLOGOHACK
125#define DEFAULT_LOGO_SCREEN_SAVER 1
126#endif
127#ifndef DEFAULT_ACCESS_CONTROL
128#define DEFAULT_ACCESS_CONTROL TRUE
129#endif
130
131/* Default logging parameters. */
132#ifndef DEFAULT_LOG_VERBOSITY
133#define DEFAULT_LOG_VERBOSITY 0
134#endif
135#ifndef DEFAULT_LOG_FILE_VERBOSITY
136#define DEFAULT_LOG_FILE_VERBOSITY 3
137#endif
138
139#endif /* SITE_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette