VirtualBox

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

Last change on this file since 99743 was 17471, checked in by vboxsync, 16 years ago

export to OSE

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

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