VirtualBox

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

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 6.2 KB
 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/xf86tokens.h,v 1.20 2003/08/24 17:37:09 dawes Exp $ */
2/*
3 *
4 * Copyright (c) 1997 Metro Link Incorporated
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
21 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 *
24 * Except as contained in this notice, the name of the Metro Link shall not be
25 * used in advertising or otherwise to promote the sale, use or other dealings
26 * in this Software without prior written authorization from Metro Link.
27 *
28 */
29/*
30 * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
31 *
32 * Permission is hereby granted, free of charge, to any person obtaining a
33 * copy of this software and associated documentation files (the "Software"),
34 * to deal in the Software without restriction, including without limitation
35 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
36 * and/or sell copies of the Software, and to permit persons to whom the
37 * Software is furnished to do so, subject to the following conditions:
38 *
39 * The above copyright notice and this permission notice shall be included in
40 * all copies or substantial portions of the Software.
41 *
42 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
45 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
46 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
47 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
48 * OTHER DEALINGS IN THE SOFTWARE.
49 *
50 * Except as contained in this notice, the name of the copyright holder(s)
51 * and author(s) shall not be used in advertising or otherwise to promote
52 * the sale, use or other dealings in this Software without prior written
53 * authorization from the copyright holder(s) and author(s).
54 */
55
56
57#ifdef HAVE_XORG_CONFIG_H
58#include <xorg-config.h>
59#endif
60
61#ifndef _xf86_tokens_h
62#define _xf86_tokens_h
63
64/* Undefine symbols that some OSs might define */
65#undef IOBASE
66
67/*
68 * Each token should have a unique value regardless of the section
69 * it is used in.
70 */
71
72typedef enum {
73 /* errno-style tokens */
74 EOF_TOKEN = -4,
75 LOCK_TOKEN = -3,
76 ERROR_TOKEN = -2,
77
78 /* value type tokens */
79 NUMBER = 1,
80 STRING,
81
82 /* Tokens that can appear in many sections */
83 SECTION,
84 SUBSECTION,
85 ENDSECTION,
86 ENDSUBSECTION,
87 IDENTIFIER,
88 VENDOR,
89 DASH,
90 COMMA,
91 OPTION,
92 COMMENT,
93
94 /* Frequency units */
95 HRZ,
96 KHZ,
97 MHZ,
98
99 /* File tokens */
100 FONTPATH,
101 RGBPATH,
102 MODULEPATH,
103 INPUTDEVICES,
104 LOGFILEPATH,
105
106 /* Server Flag tokens. These are deprecated in favour of generic Options */
107 NOTRAPSIGNALS,
108 DONTZAP,
109 DONTZOOM,
110 DISABLEVIDMODE,
111 ALLOWNONLOCAL,
112 DISABLEMODINDEV,
113 MODINDEVALLOWNONLOCAL,
114 ALLOWMOUSEOPENFAIL,
115 BLANKTIME,
116 STANDBYTIME,
117 SUSPENDTIME,
118 OFFTIME,
119 DEFAULTLAYOUT,
120
121 /* Monitor tokens */
122 MODEL,
123 MODELINE,
124 DISPLAYSIZE,
125 HORIZSYNC,
126 VERTREFRESH,
127 MODE,
128 GAMMA,
129 USEMODES,
130
131 /* Modes tokens */
132 /* no new ones */
133
134 /* Mode tokens */
135 DOTCLOCK,
136 HTIMINGS,
137 VTIMINGS,
138 FLAGS,
139 HSKEW,
140 BCAST,
141 VSCAN,
142 ENDMODE,
143
144 /* Screen tokens */
145 OBSDRIVER,
146 MDEVICE,
147 MONITOR,
148 SCREENNO,
149 DEFAULTDEPTH,
150 DEFAULTBPP,
151 DEFAULTFBBPP,
152
153 /* VideoAdaptor tokens */
154 VIDEOADAPTOR,
155
156 /* Mode timing tokens */
157 TT_INTERLACE,
158 TT_PHSYNC,
159 TT_NHSYNC,
160 TT_PVSYNC,
161 TT_NVSYNC,
162 TT_CSYNC,
163 TT_PCSYNC,
164 TT_NCSYNC,
165 TT_DBLSCAN,
166 TT_HSKEW,
167 TT_BCAST,
168 TT_VSCAN,
169 TT_CUSTOM,
170
171 /* Module tokens */
172 LOAD,
173 LOAD_DRIVER,
174
175 /* Device tokens */
176 DRIVER,
177 CHIPSET,
178 CLOCKS,
179 VIDEORAM,
180 BOARD,
181 IOBASE,
182 RAMDAC,
183 DACSPEED,
184 BIOSBASE,
185 MEMBASE,
186 CLOCKCHIP,
187 CHIPID,
188 CHIPREV,
189 CARD,
190 BUSID,
191 TEXTCLOCKFRQ,
192 IRQ,
193
194 /* Keyboard tokens */
195 AUTOREPEAT,
196 XLEDS,
197 KPROTOCOL,
198 XKBKEYMAP,
199 XKBCOMPAT,
200 XKBTYPES,
201 XKBKEYCODES,
202 XKBGEOMETRY,
203 XKBSYMBOLS,
204 XKBDISABLE,
205 PANIX106,
206 XKBRULES,
207 XKBMODEL,
208 XKBLAYOUT,
209 XKBVARIANT,
210 XKBOPTIONS,
211 /* The next two have become ServerFlags options */
212 VTINIT,
213 VTSYSREQ,
214 /* Obsolete keyboard tokens */
215 SERVERNUM,
216 LEFTALT,
217 RIGHTALT,
218 SCROLLLOCK_TOK,
219 RIGHTCTL,
220 /* arguments for the above obsolete tokens */
221 CONF_KM_META,
222 CONF_KM_COMPOSE,
223 CONF_KM_MODESHIFT,
224 CONF_KM_MODELOCK,
225 CONF_KM_SCROLLLOCK,
226 CONF_KM_CONTROL,
227
228 /* Pointer tokens */
229 EMULATE3,
230 BAUDRATE,
231 SAMPLERATE,
232 PRESOLUTION,
233 CLEARDTR,
234 CLEARRTS,
235 CHORDMIDDLE,
236 PROTOCOL,
237 PDEVICE,
238 EM3TIMEOUT,
239 DEVICE_NAME,
240 ALWAYSCORE,
241 PBUTTONS,
242 ZAXISMAPPING,
243
244 /* Pointer Z axis mapping tokens */
245 XAXIS,
246 YAXIS,
247
248 /* Display tokens */
249 MODES,
250 VIEWPORT,
251 VIRTUAL,
252 VISUAL,
253 BLACK_TOK,
254 WHITE_TOK,
255 DEPTH,
256 BPP,
257 WEIGHT,
258
259 /* Layout Tokens */
260 SCREEN,
261 INACTIVE,
262 INPUTDEVICE,
263
264 /* Adjaceny Tokens */
265 RIGHTOF,
266 LEFTOF,
267 ABOVE,
268 BELOW,
269 RELATIVE,
270 ABSOLUTE,
271
272 /* Vendor Tokens */
273 VENDORNAME,
274
275 /* DRI Tokens */
276 GROUP,
277 BUFFERS
278} ParserTokens;
279
280#endif /* _xf86_tokens_h */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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