comparison dstep/coreservices/ae/AERegistry.d @ 11:07194b026fa4

Added bindings to a couple of frameworks, new license + some other things
author Jacob Carlborg <doob@me.com>
date Sat, 01 Aug 2009 15:03:28 +0200
parents
children 19885b43130e
comparison
equal deleted inserted replaced
10:27e00625790b 11:07194b026fa4
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Jul 21, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.coreservices.ae.AERegistry;
8
9 //import dstep.AvailabilityMacros;
10 import dstep.coreservices.ae.AppleEvents;
11 import dstep.coreservices.carboncore.CarbonCore;
12 import dstep.objc.bridge.TypeEncoding;
13
14 alias TextRange* TextRangePtr;
15 alias TextRangePtr* TextRangeHandle;
16 alias TextRangeArray* TextRangeArrayPtr;
17 alias TextRangeArrayPtr* TextRangeArrayHandle;
18 alias OffsetArray*[][] OffsetArrayPtr;
19 alias OffsetArrayPtr* OffsetArrayHandle;
20
21 // This is needed otherwise the enums will fail compiling with gdc
22 version (GNU)
23 {
24 private
25 {
26 const __cAEList = getOSType!("list");
27 const __cApplication = getOSType!("capp");
28 const __cArc = getOSType!("carc");
29 const __cBoolean = getOSType!("bool");
30 const __cCell = getOSType!("ccel");
31 const __cChar = getOSType!("cha ");
32 const __cColorTable = getOSType!("clrt");
33 const __cColumn = getOSType!("ccol");
34 const __cDocument = getOSType!("docu");
35 const __cDrawingArea = getOSType!("cdrw");
36 const __cEnumeration = getOSType!("enum");
37 const __cFile = getOSType!("file");
38 const __cFixed = getOSType!("fixd");
39 const __cFixedPoint = getOSType!("fpnt");
40 const __cFixedRectangle = getOSType!("frct");
41 const __cGraphicLine = getOSType!("glin");
42 const __cGraphicObject = getOSType!("cgob");
43 const __cGraphicShape = getOSType!("cgsh");
44 const __cGraphicText = getOSType!("cgtx");
45 const __cGroupedGraphic = getOSType!("cpic");
46
47 }
48 }
49
50 // This is needed otherwise the enums will fail compiling with gdc
51 version (GNU)
52 {
53 private
54 {
55 const __cInsertionLoc = getOSType!("insl");
56 const __cInsertionPoint = getOSType!("cins");
57 const __cIntlText = getOSType!("itxt");
58 const __cIntlWritingCode = getOSType!("intl");
59 const __cItem = getOSType!("citm");
60 const __cLine = getOSType!("clin");
61 const __cLongDateTime = getOSType!("ldt ");
62 const __cLongFixed = getOSType!("lfxd");
63 const __cLongFixedPoint = getOSType!("lfpt");
64 const __cLongFixedRectangle = getOSType!("lfrc");
65 const __cLongInteger = getOSType!("long");
66 const __cLongPoint = getOSType!("lpnt");
67 const __cLongRectangle = getOSType!("lrct");
68 const __cMachineLoc = getOSType!("mLoc");
69 const __cMenu = getOSType!("cmnu");
70 const __cMenuItem = getOSType!("cmen");
71 const __cObject = getOSType!("cobj");
72 const __cObjectSpecifier = getOSType!("obj ");
73 const __cOpenableObject = getOSType!("coob");
74 const __cOval = getOSType!("covl");
75
76 }
77 }
78
79 // This is needed otherwise the enums will fail compiling with gdc
80 version (GNU)
81 {
82 private
83 {
84 const __cParagraph = getOSType!("cpar");
85 const __cPICT = getOSType!("PICT");
86 const __cPixel = getOSType!("cpxl");
87 const __cPixelMap = getOSType!("cpix");
88 const __cPolygon = getOSType!("cpgn");
89 const __cProperty = getOSType!("prop");
90 const __cQDPoint = getOSType!("QDpt");
91 const __cQDRectangle = getOSType!("qdrt");
92 const __cRectangle = getOSType!("crec");
93 const __cRGBColor = getOSType!("cRGB");
94 const __cRotation = getOSType!("trot");
95 const __cRoundedRectangle = getOSType!("crrc");
96 const __cRow = getOSType!("crow");
97 const __cSelection = getOSType!("csel");
98 const __cShortInteger = getOSType!("shor");
99 const __cTable = getOSType!("ctbl");
100 const __cText = getOSType!("ctxt");
101 const __cTextFlow = getOSType!("cflo");
102 const __cTextStyles = getOSType!("tsty");
103 const __cType = getOSType!("type");
104
105 }
106 }
107
108 // This is needed otherwise the enums will fail compiling with gdc
109 version (GNU)
110 {
111 private
112 {
113 const __cVersion = getOSType!("vers");
114 const __cWindow = getOSType!("cwin");
115 const __cWord = getOSType!("cwor");
116 const __enumArrows = getOSType!("arro");
117 const __enumJustification = getOSType!("just");
118 const __enumKeyForm = getOSType!("kfrm");
119 const __enumPosition = getOSType!("posi");
120 const __enumProtection = getOSType!("prtn");
121 const __enumQuality = getOSType!("qual");
122 const __enumSaveOptions = getOSType!("savo");
123 const __enumStyle = getOSType!("styl");
124 const __enumTransferMode = getOSType!("tran");
125 const __kAEAbout = getOSType!("abou");
126 const __kAEAfter = getOSType!("afte");
127 const __kAEAliasSelection = getOSType!("sali");
128 const __kAEAllCaps = getOSType!("alcp");
129 const __kAEArrowAtEnd = getOSType!("aren");
130 const __kAEArrowAtStart = getOSType!("arst");
131 const __kAEArrowBothEnds = getOSType!("arbo");
132
133 }
134 }
135
136 // This is needed otherwise the enums will fail compiling with gdc
137 version (GNU)
138 {
139 private
140 {
141 const __kAEAsk = getOSType!("ask ");
142 const __kAEBefore = getOSType!("befo");
143 const __kAEBeginning = getOSType!("bgng");
144 const __kAEBeginsWith = getOSType!("bgwt");
145 const __kAEBeginTransaction = getOSType!("begi");
146 const __kAEBold = getOSType!("bold");
147 const __kAECaseSensEquals = getOSType!("cseq");
148 const __kAECentered = getOSType!("cent");
149 const __kAEChangeView = getOSType!("view");
150 const __kAEClone = getOSType!("clon");
151 const __kAEClose = getOSType!("clos");
152 const __kAECondensed = getOSType!("cond");
153 const __kAEContains = getOSType!("cont");
154 const __kAECopy = getOSType!("copy");
155 const __kAECoreSuite = getOSType!("core");
156 const __kAECountElements = getOSType!("cnte");
157 const __kAECreateElement = getOSType!("crel");
158 const __kAECreatePublisher = getOSType!("cpub");
159 const __kAECut = getOSType!("cut ");
160 const __kAEDelete = getOSType!("delo");
161
162 }
163 }
164
165 // This is needed otherwise the enums will fail compiling with gdc
166 version (GNU)
167 {
168 private
169 {
170 const __kAEDoObjectsExist = getOSType!("doex");
171 const __kAEDoScript = getOSType!("dosc");
172 const __kAEDrag = getOSType!("drag");
173 const __kAEDuplicateSelection = getOSType!("sdup");
174 const __kAEEditGraphic = getOSType!("edit");
175 const __kAEEmptyTrash = getOSType!("empt");
176 const __kAEEnd = getOSType!("end ");
177 const __kAEEndsWith = getOSType!("ends");
178 const __kAEEndTransaction = getOSType!("endt");
179 const __kAEEquals = getOSType!("= ");
180 const __kAEExpanded = getOSType!("pexp");
181 const __kAEFast = getOSType!("fast");
182 const __kAEFinderEvents = getOSType!("FNDR");
183 const __kAEFormulaProtect = getOSType!("fpro");
184 const __kAEFullyJustified = getOSType!("full");
185 const __kAEGetClassInfo = getOSType!("qobj");
186 const __kAEGetData = getOSType!("getd");
187 const __kAEGetDataSize = getOSType!("dsiz");
188 const __kAEGetEventInfo = getOSType!("gtei");
189 const __kAEGetInfoSelection = getOSType!("sinf");
190
191 }
192 }
193
194 // This is needed otherwise the enums will fail compiling with gdc
195 version (GNU)
196 {
197 private
198 {
199 const __kAEGetPrivilegeSelection = getOSType!("sprv");
200 const __kAEGetSuiteInfo = getOSType!("gtsi");
201 const __kAEGreaterThan = getOSType!("> ");
202 const __kAEGreaterThanEquals = getOSType!(">= ");
203 const __kAEGrow = getOSType!("grow");
204 const __kAEHidden = getOSType!("hidn");
205 const __kAEHiQuality = getOSType!("hiqu");
206 const __kAEImageGraphic = getOSType!("imgr");
207 const __kAEIsUniform = getOSType!("isun");
208 const __kAEItalic = getOSType!("ital");
209 const __kAELeftJustified = getOSType!("left");
210 const __kAELessThan = getOSType!("< ");
211 const __kAELessThanEquals = getOSType!("<= ");
212 const __kAELowercase = getOSType!("lowc");
213 const __kAEMakeObjectsVisible = getOSType!("mvis");
214 const __kAEMiscStandards = getOSType!("misc");
215 const __kAEModifiable = getOSType!("modf");
216 const __kAEMove = getOSType!("move");
217 const __kAENo = getOSType!("no ");
218 const __kAENoArrow = getOSType!("arno");
219
220 }
221 }
222
223 // This is needed otherwise the enums will fail compiling with gdc
224 version (GNU)
225 {
226 private
227 {
228 const __kAENonmodifiable = getOSType!("nmod");
229 const __kAEOpen = getOSType!("odoc");
230 const __kAEOpenSelection = getOSType!("sope");
231 const __kAEOutline = getOSType!("outl");
232 const __kAEPageSetup = getOSType!("pgsu");
233 const __kAEPaste = getOSType!("past");
234 const __kAEPlain = getOSType!("plan");
235 const __kAEPrint = getOSType!("pdoc");
236 const __kAEPrintSelection = getOSType!("spri");
237 const __kAEPrintWindow = getOSType!("pwin");
238 const __kAEPutAwaySelection = getOSType!("sput");
239 const __kAEQDAddOver = getOSType!("addo");
240 const __kAEQDAddPin = getOSType!("addp");
241 const __kAEQDAdMax = getOSType!("admx");
242 const __kAEQDAdMin = getOSType!("admn");
243 const __kAEQDBic = getOSType!("bic ");
244 const __kAEQDBlend = getOSType!("blnd");
245 const __kAEQDCopy = getOSType!("cpy ");
246 const __kAEQDNotBic = getOSType!("nbic");
247 const __kAEQDNotCopy = getOSType!("ncpy");
248
249 }
250 }
251
252 // This is needed otherwise the enums will fail compiling with gdc
253 version (GNU)
254 {
255 private
256 {
257 const __kAEQDNotOr = getOSType!("ntor");
258 const __kAEQDNotXor = getOSType!("nxor");
259 const __kAEQDOr = getOSType!("or ");
260 const __kAEQDSubOver = getOSType!("subo");
261 const __kAEQDSubPin = getOSType!("subp");
262 const __kAEQDSupplementalSuite = getOSType!("qdsp");
263 const __kAEQDXor = getOSType!("xor ");
264 const __kAEQuickdrawSuite = getOSType!("qdrw");
265 const __kAEQuitAll = getOSType!("quia");
266 const __kAERedo = getOSType!("redo");
267 const __kAERegular = getOSType!("regl");
268 const __kAEReopenApplication = getOSType!("rapp");
269 const __kAEReplace = getOSType!("rplc");
270 const __kAERequiredSuite = getOSType!("reqd");
271 const __kAERestart = getOSType!("rest");
272 const __kAERevealSelection = getOSType!("srev");
273 const __kAERevert = getOSType!("rvrt");
274 const __kAERightJustified = getOSType!("rght");
275 const __kAESave = getOSType!("save");
276 const __kAESelect = getOSType!("slct");
277 const __kAESetData = getOSType!("setd");
278
279 }
280 }
281
282 // This is needed otherwise the enums will fail compiling with gdc
283 version (GNU)
284 {
285 private
286 {
287 const __kAESetPosition = getOSType!("posn");
288 const __kAEShadow = getOSType!("shad");
289 const __kAEShowClipboard = getOSType!("shcl");
290 const __kAEShutDown = getOSType!("shut");
291 const __kAESleep = getOSType!("slep");
292 const __kAESmallCaps = getOSType!("smcp");
293 const __kAESpecialClassProperties = getOSType!("c@#!");
294 const __kAEStrikethrough = getOSType!("strk");
295 const __kAESubscript = getOSType!("sbsc");
296 const __kAESuperscript = getOSType!("spsc");
297 const __kAETableSuite = getOSType!("tbls");
298 const __kAETextSuite = getOSType!("TEXT");
299 const __kAETransactionTerminated = getOSType!("ttrm");
300 const __kAEUnderline = getOSType!("undl");
301 const __kAEUndo = getOSType!("undo");
302 const __kAEWholeWordEquals = getOSType!("wweq");
303 const __kAEYes = getOSType!("yes ");
304 const __kAEZoom = getOSType!("zoom");
305
306 }
307 }
308
309 // This is needed otherwise the enums will fail compiling with gdc
310 version (GNU)
311 {
312 private
313 {
314 const __kAELogOut = getOSType!("logo");
315 const __kAEReallyLogOut = getOSType!("rlgo");
316 const __kAEShowRestartDialog = getOSType!("rrst");
317 const __kAEShowShutdownDialog = getOSType!("rsdn");
318
319 }
320 }
321
322 // This is needed otherwise the enums will fail compiling with gdc
323 version (GNU)
324 {
325 private
326 {
327 const __kAEMouseClass = getOSType!("mous");
328 const __kAEDown = getOSType!("down");
329 const __kAEUp = getOSType!("up ");
330 const __kAEMoved = getOSType!("move");
331 const __kAEStoppedMoving = getOSType!("stop");
332 const __kAEWindowClass = getOSType!("wind");
333 const __kAEUpdate = getOSType!("updt");
334 const __kAEActivate = getOSType!("actv");
335 const __kAEDeactivate = getOSType!("dact");
336 const __kAECommandClass = getOSType!("cmnd");
337 const __kAEKeyClass = getOSType!("keyc");
338 const __kAERawKey = getOSType!("rkey");
339 const __kAEVirtualKey = getOSType!("keyc");
340 const __kAENavigationKey = getOSType!("nave");
341 const __kAEAutoDown = getOSType!("auto");
342 const __kAEApplicationClass = getOSType!("appl");
343 const __kAESuspend = getOSType!("susp");
344 const __kAEResume = getOSType!("rsme");
345 const __kAEDiskEvent = getOSType!("disk");
346 const __kAENullEvent = getOSType!("null");
347 const __kAEWakeUpEvent = getOSType!("wake");
348 const __kAEScrapEvent = getOSType!("scrp");
349 const __kAEHighLevel = getOSType!("high");
350
351 }
352 }
353
354 // This is needed otherwise the enums will fail compiling with gdc
355 version (GNU)
356 {
357 private
358 {
359 const __keyAEAngle = getOSType!("kang");
360 const __keyAEArcAngle = getOSType!("parc");
361
362 }
363 }
364
365 // This is needed otherwise the enums will fail compiling with gdc
366 version (GNU)
367 {
368 private
369 {
370 const __keyAEBaseAddr = getOSType!("badd");
371 const __keyAEBestType = getOSType!("pbst");
372 const __keyAEBgndColor = getOSType!("kbcl");
373 const __keyAEBgndPattern = getOSType!("kbpt");
374 const __keyAEBounds = getOSType!("pbnd");
375 const __keyAECellList = getOSType!("kclt");
376 const __keyAEClassID = getOSType!("clID");
377 const __keyAEColor = getOSType!("colr");
378 const __keyAEColorTable = getOSType!("cltb");
379 const __keyAECurveHeight = getOSType!("kchd");
380 const __keyAECurveWidth = getOSType!("kcwd");
381 const __keyAEDashStyle = getOSType!("pdst");
382 const __keyAEData = getOSType!("data");
383 const __keyAEDefaultType = getOSType!("deft");
384 const __keyAEDefinitionRect = getOSType!("pdrt");
385 const __keyAEDescType = getOSType!("dstp");
386 const __keyAEDestination = getOSType!("dest");
387 const __keyAEDoAntiAlias = getOSType!("anta");
388 const __keyAEDoDithered = getOSType!("gdit");
389 const __keyAEDoRotate = getOSType!("kdrt");
390
391 }
392 }
393
394 // This is needed otherwise the enums will fail compiling with gdc
395 version (GNU)
396 {
397 private
398 {
399 const __keyAEDoScale = getOSType!("ksca");
400 const __keyAEDoTranslate = getOSType!("ktra");
401 const __keyAEEditionFileLoc = getOSType!("eloc");
402 const __keyAEElements = getOSType!("elms");
403 const __keyAEEndPoint = getOSType!("pend");
404 const __keyAEEventClass = getOSType!("evcl");
405 const __keyAEEventID = getOSType!("evti");
406 const __keyAEFile = getOSType!("kfil");
407 const __keyAEFileType = getOSType!("fltp");
408 const __keyAEFillColor = getOSType!("flcl");
409 const __keyAEFillPattern = getOSType!("flpt");
410 const __keyAEFlipHorizontal = getOSType!("kfho");
411 const __keyAEFlipVertical = getOSType!("kfvt");
412 const __keyAEFont = getOSType!("font");
413 const __keyAEFormula = getOSType!("pfor");
414 const __keyAEGraphicObjects = getOSType!("gobs");
415 const __keyAEID = getOSType!("ID ");
416 const __keyAEImageQuality = getOSType!("gqua");
417 const __keyAEInsertHere = getOSType!("insh");
418 const __keyAEKeyForms = getOSType!("keyf");
419
420 }
421 }
422
423 // This is needed otherwise the enums will fail compiling with gdc
424 version (GNU)
425 {
426 private
427 {
428 const __keyAEKeyword = getOSType!("kywd");
429 const __keyAELevel = getOSType!("levl");
430 const __keyAELineArrow = getOSType!("arro");
431 const __keyAEName = getOSType!("pnam");
432 const __keyAENewElementLoc = getOSType!("pnel");
433 const __keyAEObject = getOSType!("kobj");
434 const __keyAEObjectClass = getOSType!("kocl");
435 const __keyAEOffStyles = getOSType!("ofst");
436 const __keyAEOnStyles = getOSType!("onst");
437 const __keyAEParameters = getOSType!("prms");
438 const __keyAEParamFlags = getOSType!("pmfg");
439 const __keyAEPenColor = getOSType!("ppcl");
440 const __keyAEPenPattern = getOSType!("pppa");
441 const __keyAEPenWidth = getOSType!("ppwd");
442 const __keyAEPixelDepth = getOSType!("pdpt");
443 const __keyAEPixMapMinus = getOSType!("kpmm");
444 const __keyAEPMTable = getOSType!("kpmt");
445 const __keyAEPointList = getOSType!("ptlt");
446 const __keyAEPointSize = getOSType!("ptsz");
447 const __keyAEPosition = getOSType!("kpos");
448
449 }
450 }
451
452 // This is needed otherwise the enums will fail compiling with gdc
453 version (GNU)
454 {
455 private
456 {
457 const __keyAEPropData = getOSType!("prdt");
458 const __keyAEProperties = getOSType!("qpro");
459 const __keyAEProperty = getOSType!("kprp");
460 const __keyAEPropFlags = getOSType!("prfg");
461 const __keyAEPropID = getOSType!("prop");
462 const __keyAEProtection = getOSType!("ppro");
463 const __keyAERenderAs = getOSType!("kren");
464 const __keyAERequestedType = getOSType!("rtyp");
465 const __keyAEResult = getOSType!("----");
466 const __keyAEResultInfo = getOSType!("rsin");
467 const __keyAERotation = getOSType!("prot");
468 const __keyAERotPoint = getOSType!("krtp");
469 const __keyAERowList = getOSType!("krls");
470 const __keyAESaveOptions = getOSType!("savo");
471 const __keyAEScale = getOSType!("pscl");
472 const __keyAEScriptTag = getOSType!("psct");
473 const __keyAESearchText = getOSType!("stxt");
474 const __keyAEShowWhere = getOSType!("show");
475 const __keyAEStartAngle = getOSType!("pang");
476 const __keyAEStartPoint = getOSType!("pstp");
477 const __keyAEStyles = getOSType!("ksty");
478
479 }
480 }
481
482 // This is needed otherwise the enums will fail compiling with gdc
483 version (GNU)
484 {
485 private
486 {
487 const __keyAESuiteID = getOSType!("suit");
488 const __keyAEText = getOSType!("ktxt");
489 const __keyAETextColor = getOSType!("ptxc");
490 const __keyAETextFont = getOSType!("ptxf");
491 const __keyAETextPointSize = getOSType!("ptps");
492 const __keyAETextStyles = getOSType!("txst");
493 const __keyAETextLineHeight = getOSType!("ktlh");
494 const __keyAETextLineAscent = getOSType!("ktas");
495 const __keyAETheText = getOSType!("thtx");
496 const __keyAETransferMode = getOSType!("pptm");
497 const __keyAETranslation = getOSType!("ptrs");
498 const __keyAETryAsStructGraf = getOSType!("toog");
499 const __keyAEUniformStyles = getOSType!("ustl");
500 const __keyAEUpdateOn = getOSType!("pupd");
501 const __keyAEUserTerm = getOSType!("utrm");
502 const __keyAEWindow = getOSType!("wndw");
503 const __keyAEWritingCode = getOSType!("wrcd");
504
505 }
506 }
507
508 // This is needed otherwise the enums will fail compiling with gdc
509 version (GNU)
510 {
511 private
512 {
513 const __keyMiscellaneous = getOSType!("fmsc");
514 const __keySelection = getOSType!("fsel");
515 const __keyWindow = getOSType!("kwnd");
516 const __keyWhen = getOSType!("when");
517 const __keyWhere = getOSType!("wher");
518 const __keyModifiers = getOSType!("mods");
519 const __keyKey = getOSType!("key ");
520 const __keyKeyCode = getOSType!("code");
521 const __keyKeyboard = getOSType!("keyb");
522 const __keyDriveNumber = getOSType!("drv#");
523 const __keyErrorCode = getOSType!("err#");
524 const __keyHighLevelClass = getOSType!("hcls");
525 const __keyHighLevelID = getOSType!("hid ");
526
527 }
528 }
529
530 // This is needed otherwise the enums will fail compiling with gdc
531 version (GNU)
532 {
533 private
534 {
535 const __pArcAngle = getOSType!("parc");
536 const __pBackgroundColor = getOSType!("pbcl");
537 const __pBackgroundPattern = getOSType!("pbpt");
538 const __pBestType = getOSType!("pbst");
539 const __pBounds = getOSType!("pbnd");
540 const __pClass = getOSType!("pcls");
541 const __pClipboard = getOSType!("pcli");
542 const __pColor = getOSType!("colr");
543 const __pColorTable = getOSType!("cltb");
544 const __pContents = getOSType!("pcnt");
545 const __pCornerCurveHeight = getOSType!("pchd");
546 const __pCornerCurveWidth = getOSType!("pcwd");
547 const __pDashStyle = getOSType!("pdst");
548 const __pDefaultType = getOSType!("deft");
549 const __pDefinitionRect = getOSType!("pdrt");
550 const __pEnabled = getOSType!("enbl");
551 const __pEndPoint = getOSType!("pend");
552 const __pFillColor = getOSType!("flcl");
553 const __pFillPattern = getOSType!("flpt");
554 const __pFont = getOSType!("font");
555
556 }
557 }
558
559 // This is needed otherwise the enums will fail compiling with gdc
560 version (GNU)
561 {
562 private
563 {
564 const __pFormula = getOSType!("pfor");
565 const __pGraphicObjects = getOSType!("gobs");
566 const __pHasCloseBox = getOSType!("hclb");
567 const __pHasTitleBar = getOSType!("ptit");
568 const __pID = getOSType!("ID ");
569 const __pIndex = getOSType!("pidx");
570 const __pInsertionLoc = getOSType!("pins");
571 const __pIsFloating = getOSType!("isfl");
572 const __pIsFrontProcess = getOSType!("pisf");
573 const __pIsModal = getOSType!("pmod");
574 const __pIsModified = getOSType!("imod");
575 const __pIsResizable = getOSType!("prsz");
576 const __pIsStationeryPad = getOSType!("pspd");
577 const __pIsZoomable = getOSType!("iszm");
578 const __pIsZoomed = getOSType!("pzum");
579 const __pItemNumber = getOSType!("itmn");
580 const __pJustification = getOSType!("pjst");
581 const __pLineArrow = getOSType!("arro");
582 const __pMenuID = getOSType!("mnid");
583 const __pName = getOSType!("pnam");
584
585 }
586 }
587
588 // This is needed otherwise the enums will fail compiling with gdc
589 version (GNU)
590 {
591 private
592 {
593 const __pNewElementLoc = getOSType!("pnel");
594 const __pPenColor = getOSType!("ppcl");
595 const __pPenPattern = getOSType!("pppa");
596 const __pPenWidth = getOSType!("ppwd");
597 const __pPixelDepth = getOSType!("pdpt");
598 const __pPointList = getOSType!("ptlt");
599 const __pPointSize = getOSType!("ptsz");
600 const __pProtection = getOSType!("ppro");
601 const __pRotation = getOSType!("prot");
602 const __pScale = getOSType!("pscl");
603 const __pScript = getOSType!("scpt");
604 const __pScriptTag = getOSType!("psct");
605 const __pSelected = getOSType!("selc");
606 const __pSelection = getOSType!("sele");
607 const __pStartAngle = getOSType!("pang");
608 const __pStartPoint = getOSType!("pstp");
609 const __pTextColor = getOSType!("ptxc");
610 const __pTextFont = getOSType!("ptxf");
611 const __pTextItemDelimiters = getOSType!("txdl");
612 const __pTextPointSize = getOSType!("ptps");
613
614 }
615 }
616
617 // This is needed otherwise the enums will fail compiling with gdc
618 version (GNU)
619 {
620 private
621 {
622 const __pTextStyles = getOSType!("txst");
623 const __pTransferMode = getOSType!("pptm");
624 const __pTranslation = getOSType!("ptrs");
625 const __pUniformStyles = getOSType!("ustl");
626 const __pUpdateOn = getOSType!("pupd");
627 const __pUserSelection = getOSType!("pusl");
628 const __pVersion = getOSType!("vers");
629 const __pVisible = getOSType!("pvis");
630
631 }
632 }
633
634 // This is needed otherwise the enums will fail compiling with gdc
635 version (GNU)
636 {
637 private
638 {
639 const __typeAEText = getOSType!("tTXT");
640 const __typeArc = getOSType!("carc");
641 const __typeBest = getOSType!("best");
642 const __typeCell = getOSType!("ccel");
643 const __typeClassInfo = getOSType!("gcli");
644 const __typeColorTable = getOSType!("clrt");
645 const __typeColumn = getOSType!("ccol");
646 const __typeDashStyle = getOSType!("tdas");
647 const __typeData = getOSType!("tdta");
648 const __typeDrawingArea = getOSType!("cdrw");
649 const __typeElemInfo = getOSType!("elin");
650 const __typeEnumeration = getOSType!("enum");
651 const __typeEPS = getOSType!("EPS ");
652 const __typeEventInfo = getOSType!("evin");
653
654 }
655 }
656
657 // This is needed otherwise the enums will fail compiling with gdc
658 version (GNU)
659 {
660 private
661 {
662 const __typeFinderWindow = getOSType!("fwin");
663 const __typeFixedPoint = getOSType!("fpnt");
664 const __typeFixedRectangle = getOSType!("frct");
665 const __typeGraphicLine = getOSType!("glin");
666 const __typeGraphicText = getOSType!("cgtx");
667 const __typeGroupedGraphic = getOSType!("cpic");
668 const __typeInsertionLoc = getOSType!("insl");
669 const __typeIntlText = getOSType!("itxt");
670 const __typeIntlWritingCode = getOSType!("intl");
671 const __typeLongDateTime = getOSType!("ldt ");
672 const __typeCFAbsoluteTime = getOSType!("cfat");
673 const __typeISO8601DateTime = getOSType!("isot");
674 const __typeLongFixed = getOSType!("lfxd");
675 const __typeLongFixedPoint = getOSType!("lfpt");
676 const __typeLongFixedRectangle = getOSType!("lfrc");
677 const __typeLongPoint = getOSType!("lpnt");
678 const __typeLongRectangle = getOSType!("lrct");
679 const __typeMachineLoc = getOSType!("mLoc");
680 const __typeOval = getOSType!("covl");
681 const __typeParamInfo = getOSType!("pmin");
682 const __typePict = getOSType!("PICT");
683
684 }
685 }
686
687 // This is needed otherwise the enums will fail compiling with gdc
688 version (GNU)
689 {
690 private
691 {
692 const __typePixelMap = getOSType!("cpix");
693 const __typePixMapMinus = getOSType!("tpmm");
694 const __typePolygon = getOSType!("cpgn");
695 const __typePropInfo = getOSType!("pinf");
696 const __typePtr = getOSType!("ptr ");
697 const __typeQDPoint = getOSType!("QDpt");
698 const __typeQDRegion = getOSType!("Qrgn");
699 const __typeRectangle = getOSType!("crec");
700 const __typeRGB16 = getOSType!("tr16");
701 const __typeRGB96 = getOSType!("tr96");
702 const __typeRGBColor = getOSType!("cRGB");
703 const __typeRotation = getOSType!("trot");
704 const __typeRoundedRectangle = getOSType!("crrc");
705 const __typeRow = getOSType!("crow");
706 const __typeScrapStyles = getOSType!("styl");
707 const __typeScript = getOSType!("scpt");
708 const __typeStyledText = getOSType!("STXT");
709 const __typeSuiteInfo = getOSType!("suin");
710 const __typeTable = getOSType!("ctbl");
711 const __typeTextStyles = getOSType!("tsty");
712
713 }
714 }
715
716 // This is needed otherwise the enums will fail compiling with gdc
717 version (GNU)
718 {
719 private
720 {
721 const __typeTIFF = getOSType!("TIFF");
722 const __typeJPEG = getOSType!("JPEG");
723 const __typeGIF = getOSType!("GIFf");
724 const __typeVersion = getOSType!("vers");
725
726 }
727 }
728
729 // This is needed otherwise the enums will fail compiling with gdc
730 version (GNU)
731 {
732 private
733 {
734 const __kAEMenuClass = getOSType!("menu");
735 const __kAEMenuSelect = getOSType!("mhit");
736 const __kAEMouseDown = getOSType!("mdwn");
737 const __kAEMouseDownInBack = getOSType!("mdbk");
738 const __kAEKeyDown = getOSType!("kdwn");
739 const __kAEResized = getOSType!("rsiz");
740 const __kAEPromise = getOSType!("prom");
741
742 }
743 }
744
745 // This is needed otherwise the enums will fail compiling with gdc
746 version (GNU)
747 {
748 private
749 {
750 const __keyMenuID = getOSType!("mid ");
751 const __keyMenuItem = getOSType!("mitm");
752 const __keyCloseAllWindows = getOSType!("caw ");
753 const __keyOriginalBounds = getOSType!("obnd");
754 const __keyNewBounds = getOSType!("nbnd");
755 const __keyLocalWhere = getOSType!("lwhr");
756
757 }
758 }
759
760 // This is needed otherwise the enums will fail compiling with gdc
761 version (GNU)
762 {
763 private
764 {
765 const __typeHIMenu = getOSType!("mobj");
766 const __typeHIWindow = getOSType!("wobj");
767
768 }
769 }
770
771 // This is needed otherwise the enums will fail compiling with gdc
772 version (GNU)
773 {
774 private
775 {
776 const __kTextServiceClass = getOSType!("tsvc");
777 const __kUpdateActiveInputArea = getOSType!("updt");
778 const __kShowHideInputWindow = getOSType!("shiw");
779 const __kPos2Offset = getOSType!("p2st");
780 const __kOffset2Pos = getOSType!("st2p");
781 const __kUnicodeNotFromInputMethod = getOSType!("unim");
782 const __kGetSelectedText = getOSType!("gtxt");
783 const __keyAETSMDocumentRefcon = getOSType!("refc");
784 const __keyAEServerInstance = getOSType!("srvi");
785 const __keyAETheData = getOSType!("kdat");
786 const __keyAEFixLength = getOSType!("fixl");
787 const __keyAEUpdateRange = getOSType!("udng");
788 const __keyAECurrentPoint = getOSType!("cpos");
789 const __keyAEBufferSize = getOSType!("buff");
790 const __keyAEMoveView = getOSType!("mvvw");
791 const __keyAENextBody = getOSType!("nxbd");
792 const __keyAETSMScriptTag = getOSType!("sclg");
793 const __keyAETSMTextFont = getOSType!("ktxf");
794 const __keyAETSMTextFMFont = getOSType!("ktxm");
795 const __keyAETSMTextPointSize = getOSType!("ktps");
796 const __keyAETSMEventRecord = getOSType!("tevt");
797 const __keyAETSMEventRef = getOSType!("tevr");
798 const __keyAETextServiceEncoding = getOSType!("tsen");
799 const __keyAETextServiceMacEncoding = getOSType!("tmen");
800 const __keyAETSMGlyphInfoArray = getOSType!("tgia");
801 const __typeTextRange = getOSType!("txrn");
802 const __typeComponentInstance = getOSType!("cmpi");
803 const __typeOffsetArray = getOSType!("ofay");
804 const __typeTextRangeArray = getOSType!("tray");
805 const __typeLowLevelEventRecord = getOSType!("evtr");
806 const __typeGlyphInfoArray = getOSType!("glia");
807 const __typeEventRef = getOSType!("evrf");
808 const __typeText = getOSType!("ypeCha");
809
810 }
811 }
812
813 // This is needed otherwise the enums will fail compiling with gdc
814 version (GNU)
815 {
816 private
817 {
818 const __keyAEHiliteRange = getOSType!("hrng");
819 const __keyAEPinRange = getOSType!("pnrg");
820 const __keyAEClauseOffsets = getOSType!("clau");
821 const __keyAEOffset = getOSType!("ofst");
822 const __keyAEPoint = getOSType!("gpos");
823 const __keyAELeftSide = getOSType!("klef");
824 const __keyAERegionClass = getOSType!("rgnc");
825 const __keyAEDragging = getOSType!("bool");
826
827 }
828 }
829
830 // This is needed otherwise the enums will fail compiling with gdc
831 version (GNU)
832 {
833 private
834 {
835 const __typeMeters = getOSType!("metr");
836 const __typeInches = getOSType!("inch");
837 const __typeFeet = getOSType!("feet");
838 const __typeYards = getOSType!("yard");
839 const __typeMiles = getOSType!("mile");
840 const __typeKilometers = getOSType!("kmtr");
841 const __typeCentimeters = getOSType!("cmtr");
842 const __typeSquareMeters = getOSType!("sqrm");
843 const __typeSquareFeet = getOSType!("sqft");
844 const __typeSquareYards = getOSType!("sqyd");
845 const __typeSquareMiles = getOSType!("sqmi");
846 const __typeSquareKilometers = getOSType!("sqkm");
847 const __typeLiters = getOSType!("litr");
848 const __typeQuarts = getOSType!("qrts");
849 const __typeGallons = getOSType!("galn");
850 const __typeCubicMeters = getOSType!("cmet");
851 const __typeCubicFeet = getOSType!("cfet");
852 const __typeCubicInches = getOSType!("cuin");
853 const __typeCubicCentimeter = getOSType!("ccmt");
854 const __typeCubicYards = getOSType!("cyrd");
855 const __typeKilograms = getOSType!("kgrm");
856 const __typeGrams = getOSType!("gram");
857 const __typeOunces = getOSType!("ozs ");
858 const __typePounds = getOSType!("lbs ");
859 const __typeDegreesC = getOSType!("degc");
860 const __typeDegreesF = getOSType!("degf");
861 const __typeDegreesK = getOSType!("degk");
862
863 }
864 }
865
866 // This is needed otherwise the enums will fail compiling with gdc
867 version (GNU)
868 {
869 private
870 {
871 const __kFAServerApp = getOSType!("ssrv");
872 const __kDoFolderActionEvent = getOSType!("fola");
873 const __kFolderActionCode = getOSType!("actn");
874 const __kFolderOpenedEvent = getOSType!("fopn");
875 const __kFolderClosedEvent = getOSType!("fclo");
876 const __kFolderWindowMovedEvent = getOSType!("fsiz");
877 const __kFolderItemsAddedEvent = getOSType!("fget");
878 const __kFolderItemsRemovedEvent = getOSType!("flos");
879 const __kItemList = getOSType!("flst");
880 const __kNewSizeParameter = getOSType!("fnsz");
881 const __kFASuiteCode = getOSType!("faco");
882 const __kFAAttachCommand = getOSType!("atfa");
883 const __kFARemoveCommand = getOSType!("rmfa");
884 const __kFAEditCommand = getOSType!("edfa");
885 const __kFAFileParam = getOSType!("faal");
886 const __kFAIndexParam = getOSType!("indx");
887
888 }
889 }
890
891 // This is needed otherwise the enums will fail compiling with gdc
892 version (GNU)
893 {
894 private
895 {
896 const __kAEInternetSuite = getOSType!("gurl");
897 const __kAEISWebStarSuite = getOSType!("x575757B");
898
899 }
900 }
901
902 // This is needed otherwise the enums will fail compiling with gdc
903 version (GNU)
904 {
905 private
906 {
907 const __kAEISGetURL = getOSType!("gurl");
908 const __KAEISHandleCGI = getOSType!("sdoc");
909
910 }
911 }
912
913 // This is needed otherwise the enums will fail compiling with gdc
914 version (GNU)
915 {
916 private
917 {
918 const __cURL = getOSType!("url ");
919 const __cInternetAddress = getOSType!("IPAD");
920 const __cHTML = getOSType!("html");
921 const __cFTPItem = getOSType!("ftp ");
922
923 }
924 }
925
926 // This is needed otherwise the enums will fail compiling with gdc
927 version (GNU)
928 {
929 private
930 {
931 const __kAEISHTTPSearchArgs = getOSType!("kfor");
932 const __kAEISPostArgs = getOSType!("post");
933 const __kAEISMethod = getOSType!("meth");
934 const __kAEISClientAddress = getOSType!("addr");
935 const __kAEISUserName = getOSType!("user");
936 const __kAEISPassword = getOSType!("pass");
937 const __kAEISFromUser = getOSType!("frmu");
938 const __kAEISServerName = getOSType!("svnm");
939 const __kAEISServerPort = getOSType!("svpt");
940 const __kAEISScriptName = getOSType!("scnm");
941 const __kAEISContentType = getOSType!("ctyp");
942 const __kAEISReferrer = getOSType!("refr");
943 const __kAEISUserAgent = getOSType!("Agnt");
944 const __kAEISAction = getOSType!("Kact");
945 const __kAEISActionPath = getOSType!("Kapt");
946 const __kAEISClientIP = getOSType!("Kcip");
947 const __kAEISFullRequest = getOSType!("Kfrq");
948
949 }
950 }
951
952 // This is needed otherwise the enums will fail compiling with gdc
953 version (GNU)
954 {
955 private
956 {
957 const __pScheme = getOSType!("pusc");
958 const __pHost = getOSType!("HOST");
959 const __pPath = getOSType!("FTPc");
960 const __pUserName = getOSType!("RAun");
961 const __pUserPassword = getOSType!("RApw");
962 const __pDNSForm = getOSType!("pDNS");
963 const __pURL = getOSType!("pURL");
964 const __pTextEncoding = getOSType!("ptxe");
965 const __pFTPKind = getOSType!("kind");
966
967 }
968 }
969
970 // This is needed otherwise the enums will fail compiling with gdc
971 version (GNU)
972 {
973 private
974 {
975 const __eScheme = getOSType!("esch");
976 const __eurlHTTP = getOSType!("http");
977 const __eurlHTTPS = getOSType!("htps");
978 const __eurlFTP = getOSType!("ftp ");
979 const __eurlMail = getOSType!("mail");
980 const __eurlFile = getOSType!("file");
981 const __eurlGopher = getOSType!("gphr");
982 const __eurlTelnet = getOSType!("tlnt");
983 const __eurlNews = getOSType!("news");
984 const __eurlSNews = getOSType!("snws");
985 const __eurlNNTP = getOSType!("nntp");
986 const __eurlMessage = getOSType!("mess");
987 const __eurlMailbox = getOSType!("mbox");
988 const __eurlMulti = getOSType!("mult");
989 const __eurlLaunch = getOSType!("laun");
990 const __eurlAFP = getOSType!("afp ");
991 const __eurlAT = getOSType!("at ");
992 const __eurlEPPC = getOSType!("eppc");
993 const __eurlRTSP = getOSType!("rtsp");
994 const __eurlIMAP = getOSType!("imap");
995 const __eurlNFS = getOSType!("unfs");
996 const __eurlPOP = getOSType!("upop");
997 const __eurlLDAP = getOSType!("uldp");
998 const __eurlUnknown = getOSType!("url?");
999
1000 }
1001 }
1002
1003 // This is needed otherwise the enums will fail compiling with gdc
1004 version (GNU)
1005 {
1006 private
1007 {
1008 const __kConnSuite = getOSType!("macc");
1009 const __cDevSpec = getOSType!("cdev");
1010 const __cAddressSpec = getOSType!("cadr");
1011 const __cADBAddress = getOSType!("cadb");
1012 const __cAppleTalkAddress = getOSType!("cat ");
1013 const __cBusAddress = getOSType!("cbus");
1014 const __cEthernetAddress = getOSType!("cen ");
1015 const __cFireWireAddress = getOSType!("cfw ");
1016 const __cIPAddress = getOSType!("cip ");
1017 const __cLocalTalkAddress = getOSType!("clt ");
1018 const __cSCSIAddress = getOSType!("cscs");
1019 const __cTokenRingAddress = getOSType!("ctok");
1020 const __cUSBAddress = getOSType!("cusb");
1021 const __pDeviceType = getOSType!("pdvt");
1022 const __pDeviceAddress = getOSType!("pdva");
1023 const __pConduit = getOSType!("pcon");
1024 const __pProtocol = getOSType!("pprt");
1025 const __pATMachine = getOSType!("patm");
1026 const __pATZone = getOSType!("patz");
1027 const __pATType = getOSType!("patt");
1028 const __pDottedDecimal = getOSType!("pipd");
1029 const __pDNS = getOSType!("pdns");
1030 const __pPort = getOSType!("ppor");
1031 const __pNetwork = getOSType!("pnet");
1032 const __pNode = getOSType!("pnod");
1033 const __pSocket = getOSType!("psoc");
1034 const __pSCSIBus = getOSType!("pscb");
1035 const __pSCSILUN = getOSType!("pslu");
1036 const __eDeviceType = getOSType!("edvt");
1037 const __eAddressSpec = getOSType!("eads");
1038 const __eConduit = getOSType!("econ");
1039 const __eProtocol = getOSType!("epro");
1040 const __eADB = getOSType!("eadb");
1041 const __eAnalogAudio = getOSType!("epau");
1042 const __eAppleTalk = getOSType!("epat");
1043 const __eAudioLineIn = getOSType!("ecai");
1044 const __eAudioLineOut = getOSType!("ecal");
1045 const __eAudioOut = getOSType!("ecao");
1046 const __eBus = getOSType!("ebus");
1047 const __eCDROM = getOSType!("ecd ");
1048 const __eCommSlot = getOSType!("eccm");
1049 const __eDigitalAudio = getOSType!("epda");
1050 const __eDisplay = getOSType!("edds");
1051 const __eDVD = getOSType!("edvd");
1052 const __eEthernet = getOSType!("ecen");
1053 const __eFireWire = getOSType!("ecfw");
1054 const __eFloppy = getOSType!("efd ");
1055 const __eHD = getOSType!("ehd ");
1056 const __eInfrared = getOSType!("ecir");
1057 const __eIP = getOSType!("epip");
1058 const __eIrDA = getOSType!("epir");
1059 const __eIRTalk = getOSType!("epit");
1060 const __eKeyboard = getOSType!("ekbd");
1061 const __eLCD = getOSType!("edlc");
1062 const __eLocalTalk = getOSType!("eclt");
1063 const __eMacIP = getOSType!("epmi");
1064 const __eMacVideo = getOSType!("epmv");
1065 const __eMicrophone = getOSType!("ecmi");
1066 const __eModemPort = getOSType!("ecmp");
1067 const __eModemPrinterPort = getOSType!("empp");
1068 const __eModem = getOSType!("edmm");
1069 const __eMonitorOut = getOSType!("ecmn");
1070 const __eMouse = getOSType!("emou");
1071 const __eNuBusCard = getOSType!("ednb");
1072 const __eNuBus = getOSType!("enub");
1073 const __ePCcard = getOSType!("ecpc");
1074 const __ePCIbus = getOSType!("ecpi");
1075 const __ePCIcard = getOSType!("edpi");
1076 const __ePDSslot = getOSType!("ecpd");
1077 const __ePDScard = getOSType!("epds");
1078 const __ePointingDevice = getOSType!("edpd");
1079 const __ePostScript = getOSType!("epps");
1080 const __ePPP = getOSType!("eppp");
1081 const __ePrinterPort = getOSType!("ecpp");
1082 const __ePrinter = getOSType!("edpr");
1083 const __eSvideo = getOSType!("epsv");
1084 const __eSCSI = getOSType!("ecsc");
1085 const __eSerial = getOSType!("epsr");
1086 const __eSpeakers = getOSType!("edsp");
1087 const __eStorageDevice = getOSType!("edst");
1088 const __eSVGA = getOSType!("epsg");
1089 const __eTokenRing = getOSType!("etok");
1090 const __eTrackball = getOSType!("etrk");
1091 const __eTrackpad = getOSType!("edtp");
1092 const __eUSB = getOSType!("ecus");
1093 const __eVideoIn = getOSType!("ecvi");
1094 const __eVideoMonitor = getOSType!("edvm");
1095 const __eVideoOut = getOSType!("ecvo");
1096
1097 }
1098 }
1099
1100 // This is needed otherwise the enums will fail compiling with gdc
1101 version (GNU)
1102 {
1103 private
1104 {
1105 const __cKeystroke = getOSType!("kprs");
1106 const __pKeystrokeKey = getOSType!("kMsg");
1107 const __pModifiers = getOSType!("kMod");
1108 const __pKeyKind = getOSType!("kknd");
1109 const __eModifiers = getOSType!("eMds");
1110 const __eOptionDown = getOSType!("Kopt");
1111 const __eCommandDown = getOSType!("Kcmd");
1112 const __eControlDown = getOSType!("Kctl");
1113 const __eShiftDown = getOSType!("Ksft");
1114 const __eCapsLockDown = getOSType!("Kclk");
1115 const __eKeyKind = getOSType!("ekst");
1116 const __eEscapeKey = getOSType!("x6B73350");
1117 const __eDeleteKey = getOSType!("x6B73330");
1118 const __eTabKey = getOSType!("x6B73300");
1119 const __eReturnKey = getOSType!("x6B73240");
1120 const __eClearKey = getOSType!("x6B73470");
1121 const __eEnterKey = getOSType!("x6B734C0");
1122 const __eUpArrowKey = getOSType!("x6B737E0");
1123 const __eDownArrowKey = getOSType!("x6B737D0");
1124 const __eLeftArrowKey = getOSType!("x6B737B0");
1125 const __eRightArrowKey = getOSType!("x6B737C0");
1126 const __eHelpKey = getOSType!("x6B73720");
1127 const __eHomeKey = getOSType!("x6B73730");
1128 const __ePageUpKey = getOSType!("x6B73740");
1129 const __ePageDownKey = getOSType!("x6B73790");
1130 const __eForwardDelKey = getOSType!("x6B73750");
1131 const __eEndKey = getOSType!("x6B73770");
1132 const __eF1Key = getOSType!("x6B737A0");
1133 const __eF2Key = getOSType!("x6B73780");
1134 const __eF3Key = getOSType!("x6B73630");
1135 const __eF4Key = getOSType!("x6B73760");
1136 const __eF5Key = getOSType!("x6B73600");
1137 const __eF6Key = getOSType!("x6B73610");
1138 const __eF7Key = getOSType!("x6B73620");
1139 const __eF8Key = getOSType!("x6B73640");
1140 const __eF9Key = getOSType!("x6B73650");
1141 const __eF10Key = getOSType!("x6B736D0");
1142 const __eF11Key = getOSType!("x6B73670");
1143 const __eF12Key = getOSType!("x6B736F0");
1144 const __eF13Key = getOSType!("x6B73690");
1145 const __eF14Key = getOSType!("x6B736B0");
1146 const __eF15Key = getOSType!("x6B73710");
1147
1148 }
1149 }
1150
1151 // This is needed otherwise the enums will fail compiling with gdc
1152 version (GNU)
1153 {
1154 private
1155 {
1156 const __keyAELaunchedAsLogInItem = getOSType!("lgit");
1157 const __keyAELaunchedAsServiceItem = getOSType!("svit");
1158
1159 }
1160 }
1161
1162 enum
1163 {
1164 cAEList = getOSType!("list"),
1165 cApplication = getOSType!("capp"),
1166 cArc = getOSType!("carc"),
1167 cBoolean = getOSType!("bool"),
1168 cCell = getOSType!("ccel"),
1169 cChar = getOSType!("cha "),
1170 cColorTable = getOSType!("clrt"),
1171 cColumn = getOSType!("ccol"),
1172 cDocument = getOSType!("docu"),
1173 cDrawingArea = getOSType!("cdrw"),
1174 cEnumeration = getOSType!("enum"),
1175 cFile = getOSType!("file"),
1176 cFixed = getOSType!("fixd"),
1177 cFixedPoint = getOSType!("fpnt"),
1178 cFixedRectangle = getOSType!("frct"),
1179 cGraphicLine = getOSType!("glin"),
1180 cGraphicObject = getOSType!("cgob"),
1181 cGraphicShape = getOSType!("cgsh"),
1182 cGraphicText = getOSType!("cgtx"),
1183 cGroupedGraphic = getOSType!("cpic")
1184 }
1185
1186 enum
1187 {
1188 cInsertionLoc = getOSType!("insl"),
1189 cInsertionPoint = getOSType!("cins"),
1190 cIntlText = getOSType!("itxt"),
1191 cIntlWritingCode = getOSType!("intl"),
1192 cItem = getOSType!("citm"),
1193 cLine = getOSType!("clin"),
1194 cLongDateTime = getOSType!("ldt "),
1195 cLongFixed = getOSType!("lfxd"),
1196 cLongFixedPoint = getOSType!("lfpt"),
1197 cLongFixedRectangle = getOSType!("lfrc"),
1198 cLongInteger = getOSType!("long"),
1199 cLongPoint = getOSType!("lpnt"),
1200 cLongRectangle = getOSType!("lrct"),
1201 cMachineLoc = getOSType!("mLoc"),
1202 cMenu = getOSType!("cmnu"),
1203 cMenuItem = getOSType!("cmen"),
1204 cObject = getOSType!("cobj"),
1205 cObjectSpecifier = getOSType!("obj "),
1206 cOpenableObject = getOSType!("coob"),
1207 cOval = getOSType!("covl")
1208 }
1209
1210 enum
1211 {
1212 cParagraph = getOSType!("cpar"),
1213 cPICT = getOSType!("PICT"),
1214 cPixel = getOSType!("cpxl"),
1215 cPixelMap = getOSType!("cpix"),
1216 cPolygon = getOSType!("cpgn"),
1217 cProperty = getOSType!("prop"),
1218 cQDPoint = getOSType!("QDpt"),
1219 cQDRectangle = getOSType!("qdrt"),
1220 cRectangle = getOSType!("crec"),
1221 cRGBColor = getOSType!("cRGB"),
1222 cRotation = getOSType!("trot"),
1223 cRoundedRectangle = getOSType!("crrc"),
1224 cRow = getOSType!("crow"),
1225 cSelection = getOSType!("csel"),
1226 cShortInteger = getOSType!("shor"),
1227 cTable = getOSType!("ctbl"),
1228 cText = getOSType!("ctxt"),
1229 cTextFlow = getOSType!("cflo"),
1230 cTextStyles = getOSType!("tsty"),
1231 cType = getOSType!("type")
1232 }
1233
1234 enum
1235 {
1236 cVersion = getOSType!("vers"),
1237 cWindow = getOSType!("cwin"),
1238 cWord = getOSType!("cwor"),
1239 enumArrows = getOSType!("arro"),
1240 enumJustification = getOSType!("just"),
1241 enumKeyForm = getOSType!("kfrm"),
1242 enumPosition = getOSType!("posi"),
1243 enumProtection = getOSType!("prtn"),
1244 enumQuality = getOSType!("qual"),
1245 enumSaveOptions = getOSType!("savo"),
1246 enumStyle = getOSType!("styl"),
1247 enumTransferMode = getOSType!("tran"),
1248 kAEAbout = getOSType!("abou"),
1249 kAEAfter = getOSType!("afte"),
1250 kAEAliasSelection = getOSType!("sali"),
1251 kAEAllCaps = getOSType!("alcp"),
1252 kAEArrowAtEnd = getOSType!("aren"),
1253 kAEArrowAtStart = getOSType!("arst"),
1254 kAEArrowBothEnds = getOSType!("arbo")
1255 }
1256
1257 enum
1258 {
1259 kAEAsk = getOSType!("ask "),
1260 kAEBefore = getOSType!("befo"),
1261 kAEBeginning = getOSType!("bgng"),
1262 kAEBeginsWith = getOSType!("bgwt"),
1263 kAEBeginTransaction = getOSType!("begi"),
1264 kAEBold = getOSType!("bold"),
1265 kAECaseSensEquals = getOSType!("cseq"),
1266 kAECentered = getOSType!("cent"),
1267 kAEChangeView = getOSType!("view"),
1268 kAEClone = getOSType!("clon"),
1269 kAEClose = getOSType!("clos"),
1270 kAECondensed = getOSType!("cond"),
1271 kAEContains = getOSType!("cont"),
1272 kAECopy = getOSType!("copy"),
1273 kAECoreSuite = getOSType!("core"),
1274 kAECountElements = getOSType!("cnte"),
1275 kAECreateElement = getOSType!("crel"),
1276 kAECreatePublisher = getOSType!("cpub"),
1277 kAECut = getOSType!("cut "),
1278 kAEDelete = getOSType!("delo")
1279 }
1280
1281 enum
1282 {
1283 kAEDoObjectsExist = getOSType!("doex"),
1284 kAEDoScript = getOSType!("dosc"),
1285 kAEDrag = getOSType!("drag"),
1286 kAEDuplicateSelection = getOSType!("sdup"),
1287 kAEEditGraphic = getOSType!("edit"),
1288 kAEEmptyTrash = getOSType!("empt"),
1289 kAEEnd = getOSType!("end "),
1290 kAEEndsWith = getOSType!("ends"),
1291 kAEEndTransaction = getOSType!("endt"),
1292 kAEEquals = getOSType!("= "),
1293 kAEExpanded = getOSType!("pexp"),
1294 kAEFast = getOSType!("fast"),
1295 kAEFinderEvents = getOSType!("FNDR"),
1296 kAEFormulaProtect = getOSType!("fpro"),
1297 kAEFullyJustified = getOSType!("full"),
1298 kAEGetClassInfo = getOSType!("qobj"),
1299 kAEGetData = getOSType!("getd"),
1300 kAEGetDataSize = getOSType!("dsiz"),
1301 kAEGetEventInfo = getOSType!("gtei"),
1302 kAEGetInfoSelection = getOSType!("sinf")
1303 }
1304
1305 enum
1306 {
1307 kAEGetPrivilegeSelection = getOSType!("sprv"),
1308 kAEGetSuiteInfo = getOSType!("gtsi"),
1309 kAEGreaterThan = getOSType!("> "),
1310 kAEGreaterThanEquals = getOSType!(">= "),
1311 kAEGrow = getOSType!("grow"),
1312 kAEHidden = getOSType!("hidn"),
1313 kAEHiQuality = getOSType!("hiqu"),
1314 kAEImageGraphic = getOSType!("imgr"),
1315 kAEIsUniform = getOSType!("isun"),
1316 kAEItalic = getOSType!("ital"),
1317 kAELeftJustified = getOSType!("left"),
1318 kAELessThan = getOSType!("< "),
1319 kAELessThanEquals = getOSType!("<= "),
1320 kAELowercase = getOSType!("lowc"),
1321 kAEMakeObjectsVisible = getOSType!("mvis"),
1322 kAEMiscStandards = getOSType!("misc"),
1323 kAEModifiable = getOSType!("modf"),
1324 kAEMove = getOSType!("move"),
1325 kAENo = getOSType!("no "),
1326 kAENoArrow = getOSType!("arno")
1327 }
1328
1329 enum
1330 {
1331 kAENonmodifiable = getOSType!("nmod"),
1332 kAEOpen = getOSType!("odoc"),
1333 kAEOpenSelection = getOSType!("sope"),
1334 kAEOutline = getOSType!("outl"),
1335 kAEPageSetup = getOSType!("pgsu"),
1336 kAEPaste = getOSType!("past"),
1337 kAEPlain = getOSType!("plan"),
1338 kAEPrint = getOSType!("pdoc"),
1339 kAEPrintSelection = getOSType!("spri"),
1340 kAEPrintWindow = getOSType!("pwin"),
1341 kAEPutAwaySelection = getOSType!("sput"),
1342 kAEQDAddOver = getOSType!("addo"),
1343 kAEQDAddPin = getOSType!("addp"),
1344 kAEQDAdMax = getOSType!("admx"),
1345 kAEQDAdMin = getOSType!("admn"),
1346 kAEQDBic = getOSType!("bic "),
1347 kAEQDBlend = getOSType!("blnd"),
1348 kAEQDCopy = getOSType!("cpy "),
1349 kAEQDNotBic = getOSType!("nbic"),
1350 kAEQDNotCopy = getOSType!("ncpy")
1351 }
1352
1353 enum
1354 {
1355 kAEQDNotOr = getOSType!("ntor"),
1356 kAEQDNotXor = getOSType!("nxor"),
1357 kAEQDOr = getOSType!("or "),
1358 kAEQDSubOver = getOSType!("subo"),
1359 kAEQDSubPin = getOSType!("subp"),
1360 kAEQDSupplementalSuite = getOSType!("qdsp"),
1361 kAEQDXor = getOSType!("xor "),
1362 kAEQuickdrawSuite = getOSType!("qdrw"),
1363 kAEQuitAll = getOSType!("quia"),
1364 kAERedo = getOSType!("redo"),
1365 kAERegular = getOSType!("regl"),
1366 kAEReopenApplication = getOSType!("rapp"),
1367 kAEReplace = getOSType!("rplc"),
1368 kAERequiredSuite = getOSType!("reqd"),
1369 kAERestart = getOSType!("rest"),
1370 kAERevealSelection = getOSType!("srev"),
1371 kAERevert = getOSType!("rvrt"),
1372 kAERightJustified = getOSType!("rght"),
1373 kAESave = getOSType!("save"),
1374 kAESelect = getOSType!("slct"),
1375 kAESetData = getOSType!("setd")
1376 }
1377
1378 enum
1379 {
1380 kAESetPosition = getOSType!("posn"),
1381 kAEShadow = getOSType!("shad"),
1382 kAEShowClipboard = getOSType!("shcl"),
1383 kAEShutDown = getOSType!("shut"),
1384 kAESleep = getOSType!("slep"),
1385 kAESmallCaps = getOSType!("smcp"),
1386 kAESpecialClassProperties = getOSType!("c@#!"),
1387 kAEStrikethrough = getOSType!("strk"),
1388 kAESubscript = getOSType!("sbsc"),
1389 kAESuperscript = getOSType!("spsc"),
1390 kAETableSuite = getOSType!("tbls"),
1391 kAETextSuite = getOSType!("TEXT"),
1392 kAETransactionTerminated = getOSType!("ttrm"),
1393 kAEUnderline = getOSType!("undl"),
1394 kAEUndo = getOSType!("undo"),
1395 kAEWholeWordEquals = getOSType!("wweq"),
1396 kAEYes = getOSType!("yes "),
1397 kAEZoom = getOSType!("zoom")
1398 }
1399
1400 enum
1401 {
1402 kAELogOut = getOSType!("logo"),
1403 kAEReallyLogOut = getOSType!("rlgo"),
1404 kAEShowRestartDialog = getOSType!("rrst"),
1405 kAEShowShutdownDialog = getOSType!("rsdn")
1406 }
1407
1408 enum
1409 {
1410 kAEMouseClass = getOSType!("mous"),
1411 kAEDown = getOSType!("down"),
1412 kAEUp = getOSType!("up "),
1413 kAEMoved = getOSType!("move"),
1414 kAEStoppedMoving = getOSType!("stop"),
1415 kAEWindowClass = getOSType!("wind"),
1416 kAEUpdate = getOSType!("updt"),
1417 kAEActivate = getOSType!("actv"),
1418 kAEDeactivate = getOSType!("dact"),
1419 kAECommandClass = getOSType!("cmnd"),
1420 kAEKeyClass = getOSType!("keyc"),
1421 kAERawKey = getOSType!("rkey"),
1422 kAEVirtualKey = getOSType!("keyc"),
1423 kAENavigationKey = getOSType!("nave"),
1424 kAEAutoDown = getOSType!("auto"),
1425 kAEApplicationClass = getOSType!("appl"),
1426 kAESuspend = getOSType!("susp"),
1427 kAEResume = getOSType!("rsme"),
1428 kAEDiskEvent = getOSType!("disk"),
1429 kAENullEvent = getOSType!("null"),
1430 kAEWakeUpEvent = getOSType!("wake"),
1431 kAEScrapEvent = getOSType!("scrp"),
1432 kAEHighLevel = getOSType!("high")
1433 }
1434
1435 enum
1436 {
1437 keyAEAngle = getOSType!("kang"),
1438 keyAEArcAngle = getOSType!("parc")
1439 }
1440
1441 enum
1442 {
1443 keyAEBaseAddr = getOSType!("badd"),
1444 keyAEBestType = getOSType!("pbst"),
1445 keyAEBgndColor = getOSType!("kbcl"),
1446 keyAEBgndPattern = getOSType!("kbpt"),
1447 keyAEBounds = getOSType!("pbnd"),
1448 keyAECellList = getOSType!("kclt"),
1449 keyAEClassID = getOSType!("clID"),
1450 keyAEColor = getOSType!("colr"),
1451 keyAEColorTable = getOSType!("cltb"),
1452 keyAECurveHeight = getOSType!("kchd"),
1453 keyAECurveWidth = getOSType!("kcwd"),
1454 keyAEDashStyle = getOSType!("pdst"),
1455 keyAEData = getOSType!("data"),
1456 keyAEDefaultType = getOSType!("deft"),
1457 keyAEDefinitionRect = getOSType!("pdrt"),
1458 keyAEDescType = getOSType!("dstp"),
1459 keyAEDestination = getOSType!("dest"),
1460 keyAEDoAntiAlias = getOSType!("anta"),
1461 keyAEDoDithered = getOSType!("gdit"),
1462 keyAEDoRotate = getOSType!("kdrt")
1463 }
1464
1465 enum
1466 {
1467 keyAEDoScale = getOSType!("ksca"),
1468 keyAEDoTranslate = getOSType!("ktra"),
1469 keyAEEditionFileLoc = getOSType!("eloc"),
1470 keyAEElements = getOSType!("elms"),
1471 keyAEEndPoint = getOSType!("pend"),
1472 keyAEEventClass = getOSType!("evcl"),
1473 keyAEEventID = getOSType!("evti"),
1474 keyAEFile = getOSType!("kfil"),
1475 keyAEFileType = getOSType!("fltp"),
1476 keyAEFillColor = getOSType!("flcl"),
1477 keyAEFillPattern = getOSType!("flpt"),
1478 keyAEFlipHorizontal = getOSType!("kfho"),
1479 keyAEFlipVertical = getOSType!("kfvt"),
1480 keyAEFont = getOSType!("font"),
1481 keyAEFormula = getOSType!("pfor"),
1482 keyAEGraphicObjects = getOSType!("gobs"),
1483 keyAEID = getOSType!("ID "),
1484 keyAEImageQuality = getOSType!("gqua"),
1485 keyAEInsertHere = getOSType!("insh"),
1486 keyAEKeyForms = getOSType!("keyf")
1487 }
1488
1489 enum
1490 {
1491 keyAEKeyword = getOSType!("kywd"),
1492 keyAELevel = getOSType!("levl"),
1493 keyAELineArrow = getOSType!("arro"),
1494 keyAEName = getOSType!("pnam"),
1495 keyAENewElementLoc = getOSType!("pnel"),
1496 keyAEObject = getOSType!("kobj"),
1497 keyAEObjectClass = getOSType!("kocl"),
1498 keyAEOffStyles = getOSType!("ofst"),
1499 keyAEOnStyles = getOSType!("onst"),
1500 keyAEParameters = getOSType!("prms"),
1501 keyAEParamFlags = getOSType!("pmfg"),
1502 keyAEPenColor = getOSType!("ppcl"),
1503 keyAEPenPattern = getOSType!("pppa"),
1504 keyAEPenWidth = getOSType!("ppwd"),
1505 keyAEPixelDepth = getOSType!("pdpt"),
1506 keyAEPixMapMinus = getOSType!("kpmm"),
1507 keyAEPMTable = getOSType!("kpmt"),
1508 keyAEPointList = getOSType!("ptlt"),
1509 keyAEPointSize = getOSType!("ptsz"),
1510 keyAEPosition = getOSType!("kpos")
1511 }
1512
1513 enum
1514 {
1515 keyAEPropData = getOSType!("prdt"),
1516 keyAEProperties = getOSType!("qpro"),
1517 keyAEProperty = getOSType!("kprp"),
1518 keyAEPropFlags = getOSType!("prfg"),
1519 keyAEPropID = getOSType!("prop"),
1520 keyAEProtection = getOSType!("ppro"),
1521 keyAERenderAs = getOSType!("kren"),
1522 keyAERequestedType = getOSType!("rtyp"),
1523 keyAEResult = getOSType!("----"),
1524 keyAEResultInfo = getOSType!("rsin"),
1525 keyAERotation = getOSType!("prot"),
1526 keyAERotPoint = getOSType!("krtp"),
1527 keyAERowList = getOSType!("krls"),
1528 keyAESaveOptions = getOSType!("savo"),
1529 keyAEScale = getOSType!("pscl"),
1530 keyAEScriptTag = getOSType!("psct"),
1531 keyAESearchText = getOSType!("stxt"),
1532 keyAEShowWhere = getOSType!("show"),
1533 keyAEStartAngle = getOSType!("pang"),
1534 keyAEStartPoint = getOSType!("pstp"),
1535 keyAEStyles = getOSType!("ksty")
1536 }
1537
1538 enum
1539 {
1540 keyAESuiteID = getOSType!("suit"),
1541 keyAEText = getOSType!("ktxt"),
1542 keyAETextColor = getOSType!("ptxc"),
1543 keyAETextFont = getOSType!("ptxf"),
1544 keyAETextPointSize = getOSType!("ptps"),
1545 keyAETextStyles = getOSType!("txst"),
1546 keyAETextLineHeight = getOSType!("ktlh"),
1547 keyAETextLineAscent = getOSType!("ktas"),
1548 keyAETheText = getOSType!("thtx"),
1549 keyAETransferMode = getOSType!("pptm"),
1550 keyAETranslation = getOSType!("ptrs"),
1551 keyAETryAsStructGraf = getOSType!("toog"),
1552 keyAEUniformStyles = getOSType!("ustl"),
1553 keyAEUpdateOn = getOSType!("pupd"),
1554 keyAEUserTerm = getOSType!("utrm"),
1555 keyAEWindow = getOSType!("wndw"),
1556 keyAEWritingCode = getOSType!("wrcd")
1557 }
1558
1559 enum
1560 {
1561 keyMiscellaneous = getOSType!("fmsc"),
1562 keySelection = getOSType!("fsel"),
1563 keyWindow = getOSType!("kwnd"),
1564 keyWhen = getOSType!("when"),
1565 keyWhere = getOSType!("wher"),
1566 keyModifiers = getOSType!("mods"),
1567 keyKey = getOSType!("key "),
1568 keyKeyCode = getOSType!("code"),
1569 keyKeyboard = getOSType!("keyb"),
1570 keyDriveNumber = getOSType!("drv#"),
1571 keyErrorCode = getOSType!("err#"),
1572 keyHighLevelClass = getOSType!("hcls"),
1573 keyHighLevelID = getOSType!("hid ")
1574 }
1575
1576 enum
1577 {
1578 pArcAngle = getOSType!("parc"),
1579 pBackgroundColor = getOSType!("pbcl"),
1580 pBackgroundPattern = getOSType!("pbpt"),
1581 pBestType = getOSType!("pbst"),
1582 pBounds = getOSType!("pbnd"),
1583 pClass = getOSType!("pcls"),
1584 pClipboard = getOSType!("pcli"),
1585 pColor = getOSType!("colr"),
1586 pColorTable = getOSType!("cltb"),
1587 pContents = getOSType!("pcnt"),
1588 pCornerCurveHeight = getOSType!("pchd"),
1589 pCornerCurveWidth = getOSType!("pcwd"),
1590 pDashStyle = getOSType!("pdst"),
1591 pDefaultType = getOSType!("deft"),
1592 pDefinitionRect = getOSType!("pdrt"),
1593 pEnabled = getOSType!("enbl"),
1594 pEndPoint = getOSType!("pend"),
1595 pFillColor = getOSType!("flcl"),
1596 pFillPattern = getOSType!("flpt"),
1597 pFont = getOSType!("font")
1598 }
1599
1600 enum
1601 {
1602 pFormula = getOSType!("pfor"),
1603 pGraphicObjects = getOSType!("gobs"),
1604 pHasCloseBox = getOSType!("hclb"),
1605 pHasTitleBar = getOSType!("ptit"),
1606 pID = getOSType!("ID "),
1607 pIndex = getOSType!("pidx"),
1608 pInsertionLoc = getOSType!("pins"),
1609 pIsFloating = getOSType!("isfl"),
1610 pIsFrontProcess = getOSType!("pisf"),
1611 pIsModal = getOSType!("pmod"),
1612 pIsModified = getOSType!("imod"),
1613 pIsResizable = getOSType!("prsz"),
1614 pIsStationeryPad = getOSType!("pspd"),
1615 pIsZoomable = getOSType!("iszm"),
1616 pIsZoomed = getOSType!("pzum"),
1617 pItemNumber = getOSType!("itmn"),
1618 pJustification = getOSType!("pjst"),
1619 pLineArrow = getOSType!("arro"),
1620 pMenuID = getOSType!("mnid"),
1621 pName = getOSType!("pnam")
1622 }
1623
1624 enum
1625 {
1626 pNewElementLoc = getOSType!("pnel"),
1627 pPenColor = getOSType!("ppcl"),
1628 pPenPattern = getOSType!("pppa"),
1629 pPenWidth = getOSType!("ppwd"),
1630 pPixelDepth = getOSType!("pdpt"),
1631 pPointList = getOSType!("ptlt"),
1632 pPointSize = getOSType!("ptsz"),
1633 pProtection = getOSType!("ppro"),
1634 pRotation = getOSType!("prot"),
1635 pScale = getOSType!("pscl"),
1636 pScript = getOSType!("scpt"),
1637 pScriptTag = getOSType!("psct"),
1638 pSelected = getOSType!("selc"),
1639 pSelection = getOSType!("sele"),
1640 pStartAngle = getOSType!("pang"),
1641 pStartPoint = getOSType!("pstp"),
1642 pTextColor = getOSType!("ptxc"),
1643 pTextFont = getOSType!("ptxf"),
1644 pTextItemDelimiters = getOSType!("txdl"),
1645 pTextPointSize = getOSType!("ptps")
1646 }
1647
1648 enum
1649 {
1650 pTextStyles = getOSType!("txst"),
1651 pTransferMode = getOSType!("pptm"),
1652 pTranslation = getOSType!("ptrs"),
1653 pUniformStyles = getOSType!("ustl"),
1654 pUpdateOn = getOSType!("pupd"),
1655 pUserSelection = getOSType!("pusl"),
1656 pVersion = getOSType!("vers"),
1657 pVisible = getOSType!("pvis")
1658 }
1659
1660 enum
1661 {
1662 typeAEText = getOSType!("tTXT"),
1663 typeArc = getOSType!("carc"),
1664 typeBest = getOSType!("best"),
1665 typeCell = getOSType!("ccel"),
1666 typeClassInfo = getOSType!("gcli"),
1667 typeColorTable = getOSType!("clrt"),
1668 typeColumn = getOSType!("ccol"),
1669 typeDashStyle = getOSType!("tdas"),
1670 typeData = getOSType!("tdta"),
1671 typeDrawingArea = getOSType!("cdrw"),
1672 typeElemInfo = getOSType!("elin"),
1673 typeEnumeration = getOSType!("enum"),
1674 typeEPS = getOSType!("EPS "),
1675 typeEventInfo = getOSType!("evin")
1676 }
1677
1678 enum
1679 {
1680 typeFinderWindow = getOSType!("fwin"),
1681 typeFixedPoint = getOSType!("fpnt"),
1682 typeFixedRectangle = getOSType!("frct"),
1683 typeGraphicLine = getOSType!("glin"),
1684 typeGraphicText = getOSType!("cgtx"),
1685 typeGroupedGraphic = getOSType!("cpic"),
1686 typeInsertionLoc = getOSType!("insl"),
1687 typeIntlText = getOSType!("itxt"),
1688 typeIntlWritingCode = getOSType!("intl"),
1689 typeLongDateTime = getOSType!("ldt "),
1690 typeCFAbsoluteTime = getOSType!("cfat"),
1691 typeISO8601DateTime = getOSType!("isot"),
1692 typeLongFixed = getOSType!("lfxd"),
1693 typeLongFixedPoint = getOSType!("lfpt"),
1694 typeLongFixedRectangle = getOSType!("lfrc"),
1695 typeLongPoint = getOSType!("lpnt"),
1696 typeLongRectangle = getOSType!("lrct"),
1697 typeMachineLoc = getOSType!("mLoc"),
1698 typeOval = getOSType!("covl"),
1699 typeParamInfo = getOSType!("pmin"),
1700 typePict = getOSType!("PICT")
1701 }
1702
1703 enum
1704 {
1705 typePixelMap = getOSType!("cpix"),
1706 typePixMapMinus = getOSType!("tpmm"),
1707 typePolygon = getOSType!("cpgn"),
1708 typePropInfo = getOSType!("pinf"),
1709 typePtr = getOSType!("ptr "),
1710 typeQDPoint = getOSType!("QDpt"),
1711 typeQDRegion = getOSType!("Qrgn"),
1712 typeRectangle = getOSType!("crec"),
1713 typeRGB16 = getOSType!("tr16"),
1714 typeRGB96 = getOSType!("tr96"),
1715 typeRGBColor = getOSType!("cRGB"),
1716 typeRotation = getOSType!("trot"),
1717 typeRoundedRectangle = getOSType!("crrc"),
1718 typeRow = getOSType!("crow"),
1719 typeScrapStyles = getOSType!("styl"),
1720 typeScript = getOSType!("scpt"),
1721 typeStyledText = getOSType!("STXT"),
1722 typeSuiteInfo = getOSType!("suin"),
1723 typeTable = getOSType!("ctbl"),
1724 typeTextStyles = getOSType!("tsty")
1725 }
1726
1727 enum
1728 {
1729 typeTIFF = getOSType!("TIFF"),
1730 typeJPEG = getOSType!("JPEG"),
1731 typeGIF = getOSType!("GIFf"),
1732 typeVersion = getOSType!("vers")
1733 }
1734
1735 enum
1736 {
1737 kAEMenuClass = getOSType!("menu"),
1738 kAEMenuSelect = getOSType!("mhit"),
1739 kAEMouseDown = getOSType!("mdwn"),
1740 kAEMouseDownInBack = getOSType!("mdbk"),
1741 kAEKeyDown = getOSType!("kdwn"),
1742 kAEResized = getOSType!("rsiz"),
1743 kAEPromise = getOSType!("prom")
1744 }
1745
1746 enum
1747 {
1748 keyMenuID = getOSType!("mid "),
1749 keyMenuItem = getOSType!("mitm"),
1750 keyCloseAllWindows = getOSType!("caw "),
1751 keyOriginalBounds = getOSType!("obnd"),
1752 keyNewBounds = getOSType!("nbnd"),
1753 keyLocalWhere = getOSType!("lwhr")
1754 }
1755
1756 enum
1757 {
1758 typeHIMenu = getOSType!("mobj"),
1759 typeHIWindow = getOSType!("wobj")
1760 }
1761
1762 enum
1763 {
1764 kBySmallIcon = 0,
1765 kByIconView = 1,
1766 kByNameView = 2,
1767 kByDateView = 3,
1768 kBySizeView = 4,
1769 kByKindView = 5,
1770 kByCommentView = 6,
1771 kByLabelView = 7,
1772 kByVersionView = 8
1773 }
1774
1775 enum
1776 {
1777 kAEInfo = 11,
1778 kAEMain = 0,
1779 kAESharing = 13
1780 }
1781
1782 enum
1783 {
1784 kAEZoomIn = 7,
1785 kAEZoomOut = 8
1786 }
1787
1788 enum
1789 {
1790 kTextServiceClass = getOSType!("tsvc"),
1791 kUpdateActiveInputArea = getOSType!("updt"),
1792 kShowHideInputWindow = getOSType!("shiw"),
1793 kPos2Offset = getOSType!("p2st"),
1794 kOffset2Pos = getOSType!("st2p"),
1795 kUnicodeNotFromInputMethod = getOSType!("unim"),
1796 kGetSelectedText = getOSType!("gtxt"),
1797 keyAETSMDocumentRefcon = getOSType!("refc"),
1798 keyAEServerInstance = getOSType!("srvi"),
1799 keyAETheData = getOSType!("kdat"),
1800 keyAEFixLength = getOSType!("fixl"),
1801 keyAEUpdateRange = getOSType!("udng"),
1802 keyAECurrentPoint = getOSType!("cpos"),
1803 keyAEBufferSize = getOSType!("buff"),
1804 keyAEMoveView = getOSType!("mvvw"),
1805 keyAENextBody = getOSType!("nxbd"),
1806 keyAETSMScriptTag = getOSType!("sclg"),
1807 keyAETSMTextFont = getOSType!("ktxf"),
1808 keyAETSMTextFMFont = getOSType!("ktxm"),
1809 keyAETSMTextPointSize = getOSType!("ktps"),
1810 keyAETSMEventRecord = getOSType!("tevt"),
1811 keyAETSMEventRef = getOSType!("tevr"),
1812 keyAETextServiceEncoding = getOSType!("tsen"),
1813 keyAETextServiceMacEncoding = getOSType!("tmen"),
1814 keyAETSMGlyphInfoArray = getOSType!("tgia"),
1815 typeTextRange = getOSType!("txrn"),
1816 typeComponentInstance = getOSType!("cmpi"),
1817 typeOffsetArray = getOSType!("ofay"),
1818 typeTextRangeArray = getOSType!("tray"),
1819 typeLowLevelEventRecord = getOSType!("evtr"),
1820 typeGlyphInfoArray = getOSType!("glia"),
1821 typeEventRef = getOSType!("evrf"),
1822 typeText = getOSType!("ypeCha")
1823 }
1824
1825 enum
1826 {
1827 kTSMOutsideOfBody = 1,
1828 kTSMInsideOfBody = 2,
1829 kTSMInsideOfActiveInputArea = 3
1830 }
1831
1832 enum
1833 {
1834 kNextBody = 1,
1835 kPreviousBody = 2
1836 }
1837
1838 enum
1839 {
1840 kTSMHiliteCaretPosition = 1,
1841 kTSMHiliteRawText = 2,
1842 kTSMHiliteSelectedRawText = 3,
1843 kTSMHiliteConvertedText = 4,
1844 kTSMHiliteSelectedConvertedText = 5,
1845 kTSMHiliteBlockFillText = 6,
1846 kTSMHiliteOutlineText = 7,
1847 kTSMHiliteSelectedText = 8,
1848 kTSMHiliteNoHilite = 9
1849 }
1850
1851 enum
1852 {
1853 keyAEHiliteRange = getOSType!("hrng"),
1854 keyAEPinRange = getOSType!("pnrg"),
1855 keyAEClauseOffsets = getOSType!("clau"),
1856 keyAEOffset = getOSType!("ofst"),
1857 keyAEPoint = getOSType!("gpos"),
1858 keyAELeftSide = getOSType!("klef"),
1859 keyAERegionClass = getOSType!("rgnc"),
1860 keyAEDragging = getOSType!("bool")
1861 }
1862
1863 enum
1864 {
1865 typeMeters = getOSType!("metr"),
1866 typeInches = getOSType!("inch"),
1867 typeFeet = getOSType!("feet"),
1868 typeYards = getOSType!("yard"),
1869 typeMiles = getOSType!("mile"),
1870 typeKilometers = getOSType!("kmtr"),
1871 typeCentimeters = getOSType!("cmtr"),
1872 typeSquareMeters = getOSType!("sqrm"),
1873 typeSquareFeet = getOSType!("sqft"),
1874 typeSquareYards = getOSType!("sqyd"),
1875 typeSquareMiles = getOSType!("sqmi"),
1876 typeSquareKilometers = getOSType!("sqkm"),
1877 typeLiters = getOSType!("litr"),
1878 typeQuarts = getOSType!("qrts"),
1879 typeGallons = getOSType!("galn"),
1880 typeCubicMeters = getOSType!("cmet"),
1881 typeCubicFeet = getOSType!("cfet"),
1882 typeCubicInches = getOSType!("cuin"),
1883 typeCubicCentimeter = getOSType!("ccmt"),
1884 typeCubicYards = getOSType!("cyrd"),
1885 typeKilograms = getOSType!("kgrm"),
1886 typeGrams = getOSType!("gram"),
1887 typeOunces = getOSType!("ozs "),
1888 typePounds = getOSType!("lbs "),
1889 typeDegreesC = getOSType!("degc"),
1890 typeDegreesF = getOSType!("degf"),
1891 typeDegreesK = getOSType!("degk")
1892 }
1893
1894 enum
1895 {
1896 kFAServerApp = getOSType!("ssrv"),
1897 kDoFolderActionEvent = getOSType!("fola"),
1898 kFolderActionCode = getOSType!("actn"),
1899 kFolderOpenedEvent = getOSType!("fopn"),
1900 kFolderClosedEvent = getOSType!("fclo"),
1901 kFolderWindowMovedEvent = getOSType!("fsiz"),
1902 kFolderItemsAddedEvent = getOSType!("fget"),
1903 kFolderItemsRemovedEvent = getOSType!("flos"),
1904 kItemList = getOSType!("flst"),
1905 kNewSizeParameter = getOSType!("fnsz"),
1906 kFASuiteCode = getOSType!("faco"),
1907 kFAAttachCommand = getOSType!("atfa"),
1908 kFARemoveCommand = getOSType!("rmfa"),
1909 kFAEditCommand = getOSType!("edfa"),
1910 kFAFileParam = getOSType!("faal"),
1911 kFAIndexParam = getOSType!("indx")
1912 }
1913
1914 enum
1915 {
1916 kAEInternetSuite = getOSType!("gurl"),
1917 kAEISWebStarSuite = getOSType!("x575757B")
1918 }
1919
1920 enum
1921 {
1922 kAEISGetURL = getOSType!("gurl"),
1923 KAEISHandleCGI = getOSType!("sdoc")
1924 }
1925
1926 enum
1927 {
1928 cURL = getOSType!("url "),
1929 cInternetAddress = getOSType!("IPAD"),
1930 cHTML = getOSType!("html"),
1931 cFTPItem = getOSType!("ftp ")
1932 }
1933
1934 enum
1935 {
1936 kAEISHTTPSearchArgs = getOSType!("kfor"),
1937 kAEISPostArgs = getOSType!("post"),
1938 kAEISMethod = getOSType!("meth"),
1939 kAEISClientAddress = getOSType!("addr"),
1940 kAEISUserName = getOSType!("user"),
1941 kAEISPassword = getOSType!("pass"),
1942 kAEISFromUser = getOSType!("frmu"),
1943 kAEISServerName = getOSType!("svnm"),
1944 kAEISServerPort = getOSType!("svpt"),
1945 kAEISScriptName = getOSType!("scnm"),
1946 kAEISContentType = getOSType!("ctyp"),
1947 kAEISReferrer = getOSType!("refr"),
1948 kAEISUserAgent = getOSType!("Agnt"),
1949 kAEISAction = getOSType!("Kact"),
1950 kAEISActionPath = getOSType!("Kapt"),
1951 kAEISClientIP = getOSType!("Kcip"),
1952 kAEISFullRequest = getOSType!("Kfrq")
1953 }
1954
1955 enum
1956 {
1957 pScheme = getOSType!("pusc"),
1958 pHost = getOSType!("HOST"),
1959 pPath = getOSType!("FTPc"),
1960 pUserName = getOSType!("RAun"),
1961 pUserPassword = getOSType!("RApw"),
1962 pDNSForm = getOSType!("pDNS"),
1963 pURL = getOSType!("pURL"),
1964 pTextEncoding = getOSType!("ptxe"),
1965 pFTPKind = getOSType!("kind")
1966 }
1967
1968 enum
1969 {
1970 eScheme = getOSType!("esch"),
1971 eurlHTTP = getOSType!("http"),
1972 eurlHTTPS = getOSType!("htps"),
1973 eurlFTP = getOSType!("ftp "),
1974 eurlMail = getOSType!("mail"),
1975 eurlFile = getOSType!("file"),
1976 eurlGopher = getOSType!("gphr"),
1977 eurlTelnet = getOSType!("tlnt"),
1978 eurlNews = getOSType!("news"),
1979 eurlSNews = getOSType!("snws"),
1980 eurlNNTP = getOSType!("nntp"),
1981 eurlMessage = getOSType!("mess"),
1982 eurlMailbox = getOSType!("mbox"),
1983 eurlMulti = getOSType!("mult"),
1984 eurlLaunch = getOSType!("laun"),
1985 eurlAFP = getOSType!("afp "),
1986 eurlAT = getOSType!("at "),
1987 eurlEPPC = getOSType!("eppc"),
1988 eurlRTSP = getOSType!("rtsp"),
1989 eurlIMAP = getOSType!("imap"),
1990 eurlNFS = getOSType!("unfs"),
1991 eurlPOP = getOSType!("upop"),
1992 eurlLDAP = getOSType!("uldp"),
1993 eurlUnknown = getOSType!("url?")
1994 }
1995
1996 enum
1997 {
1998 kConnSuite = getOSType!("macc"),
1999 cDevSpec = getOSType!("cdev"),
2000 cAddressSpec = getOSType!("cadr"),
2001 cADBAddress = getOSType!("cadb"),
2002 cAppleTalkAddress = getOSType!("cat "),
2003 cBusAddress = getOSType!("cbus"),
2004 cEthernetAddress = getOSType!("cen "),
2005 cFireWireAddress = getOSType!("cfw "),
2006 cIPAddress = getOSType!("cip "),
2007 cLocalTalkAddress = getOSType!("clt "),
2008 cSCSIAddress = getOSType!("cscs"),
2009 cTokenRingAddress = getOSType!("ctok"),
2010 cUSBAddress = getOSType!("cusb"),
2011 pDeviceType = getOSType!("pdvt"),
2012 pDeviceAddress = getOSType!("pdva"),
2013 pConduit = getOSType!("pcon"),
2014 pProtocol = getOSType!("pprt"),
2015 pATMachine = getOSType!("patm"),
2016 pATZone = getOSType!("patz"),
2017 pATType = getOSType!("patt"),
2018 pDottedDecimal = getOSType!("pipd"),
2019 pDNS = getOSType!("pdns"),
2020 pPort = getOSType!("ppor"),
2021 pNetwork = getOSType!("pnet"),
2022 pNode = getOSType!("pnod"),
2023 pSocket = getOSType!("psoc"),
2024 pSCSIBus = getOSType!("pscb"),
2025 pSCSILUN = getOSType!("pslu"),
2026 eDeviceType = getOSType!("edvt"),
2027 eAddressSpec = getOSType!("eads"),
2028 eConduit = getOSType!("econ"),
2029 eProtocol = getOSType!("epro"),
2030 eADB = getOSType!("eadb"),
2031 eAnalogAudio = getOSType!("epau"),
2032 eAppleTalk = getOSType!("epat"),
2033 eAudioLineIn = getOSType!("ecai"),
2034 eAudioLineOut = getOSType!("ecal"),
2035 eAudioOut = getOSType!("ecao"),
2036 eBus = getOSType!("ebus"),
2037 eCDROM = getOSType!("ecd "),
2038 eCommSlot = getOSType!("eccm"),
2039 eDigitalAudio = getOSType!("epda"),
2040 eDisplay = getOSType!("edds"),
2041 eDVD = getOSType!("edvd"),
2042 eEthernet = getOSType!("ecen"),
2043 eFireWire = getOSType!("ecfw"),
2044 eFloppy = getOSType!("efd "),
2045 eHD = getOSType!("ehd "),
2046 eInfrared = getOSType!("ecir"),
2047 eIP = getOSType!("epip"),
2048 eIrDA = getOSType!("epir"),
2049 eIRTalk = getOSType!("epit"),
2050 eKeyboard = getOSType!("ekbd"),
2051 eLCD = getOSType!("edlc"),
2052 eLocalTalk = getOSType!("eclt"),
2053 eMacIP = getOSType!("epmi"),
2054 eMacVideo = getOSType!("epmv"),
2055 eMicrophone = getOSType!("ecmi"),
2056 eModemPort = getOSType!("ecmp"),
2057 eModemPrinterPort = getOSType!("empp"),
2058 eModem = getOSType!("edmm"),
2059 eMonitorOut = getOSType!("ecmn"),
2060 eMouse = getOSType!("emou"),
2061 eNuBusCard = getOSType!("ednb"),
2062 eNuBus = getOSType!("enub"),
2063 ePCcard = getOSType!("ecpc"),
2064 ePCIbus = getOSType!("ecpi"),
2065 ePCIcard = getOSType!("edpi"),
2066 ePDSslot = getOSType!("ecpd"),
2067 ePDScard = getOSType!("epds"),
2068 ePointingDevice = getOSType!("edpd"),
2069 ePostScript = getOSType!("epps"),
2070 ePPP = getOSType!("eppp"),
2071 ePrinterPort = getOSType!("ecpp"),
2072 ePrinter = getOSType!("edpr"),
2073 eSvideo = getOSType!("epsv"),
2074 eSCSI = getOSType!("ecsc"),
2075 eSerial = getOSType!("epsr"),
2076 eSpeakers = getOSType!("edsp"),
2077 eStorageDevice = getOSType!("edst"),
2078 eSVGA = getOSType!("epsg"),
2079 eTokenRing = getOSType!("etok"),
2080 eTrackball = getOSType!("etrk"),
2081 eTrackpad = getOSType!("edtp"),
2082 eUSB = getOSType!("ecus"),
2083 eVideoIn = getOSType!("ecvi"),
2084 eVideoMonitor = getOSType!("edvm"),
2085 eVideoOut = getOSType!("ecvo")
2086 }
2087
2088 enum
2089 {
2090 cKeystroke = getOSType!("kprs"),
2091 pKeystrokeKey = getOSType!("kMsg"),
2092 pModifiers = getOSType!("kMod"),
2093 pKeyKind = getOSType!("kknd"),
2094 eModifiers = getOSType!("eMds"),
2095 eOptionDown = getOSType!("Kopt"),
2096 eCommandDown = getOSType!("Kcmd"),
2097 eControlDown = getOSType!("Kctl"),
2098 eShiftDown = getOSType!("Ksft"),
2099 eCapsLockDown = getOSType!("Kclk"),
2100 eKeyKind = getOSType!("ekst"),
2101 eEscapeKey = getOSType!("x6B73350"),
2102 eDeleteKey = getOSType!("x6B73330"),
2103 eTabKey = getOSType!("x6B73300"),
2104 eReturnKey = getOSType!("x6B73240"),
2105 eClearKey = getOSType!("x6B73470"),
2106 eEnterKey = getOSType!("x6B734C0"),
2107 eUpArrowKey = getOSType!("x6B737E0"),
2108 eDownArrowKey = getOSType!("x6B737D0"),
2109 eLeftArrowKey = getOSType!("x6B737B0"),
2110 eRightArrowKey = getOSType!("x6B737C0"),
2111 eHelpKey = getOSType!("x6B73720"),
2112 eHomeKey = getOSType!("x6B73730"),
2113 ePageUpKey = getOSType!("x6B73740"),
2114 ePageDownKey = getOSType!("x6B73790"),
2115 eForwardDelKey = getOSType!("x6B73750"),
2116 eEndKey = getOSType!("x6B73770"),
2117 eF1Key = getOSType!("x6B737A0"),
2118 eF2Key = getOSType!("x6B73780"),
2119 eF3Key = getOSType!("x6B73630"),
2120 eF4Key = getOSType!("x6B73760"),
2121 eF5Key = getOSType!("x6B73600"),
2122 eF6Key = getOSType!("x6B73610"),
2123 eF7Key = getOSType!("x6B73620"),
2124 eF8Key = getOSType!("x6B73640"),
2125 eF9Key = getOSType!("x6B73650"),
2126 eF10Key = getOSType!("x6B736D0"),
2127 eF11Key = getOSType!("x6B73670"),
2128 eF12Key = getOSType!("x6B736F0"),
2129 eF13Key = getOSType!("x6B73690"),
2130 eF14Key = getOSType!("x6B736B0"),
2131 eF15Key = getOSType!("x6B73710")
2132 }
2133
2134 enum
2135 {
2136 keyAELaunchedAsLogInItem = getOSType!("lgit"),
2137 keyAELaunchedAsServiceItem = getOSType!("svit")
2138 }
2139
2140 struct TextRange
2141 {
2142 int fStart;
2143 int fEnd;
2144 short fHiliteStyle;
2145 }
2146
2147
2148 struct TextRangeArray
2149 {
2150 short fNumOfRanges;
2151 TextRange* fRange;
2152 }
2153
2154
2155 struct OffsetArray
2156 {
2157 short fNumOfOffsets;
2158 SInt32* fOffset;
2159 }
2160
2161
2162 struct WritingCode
2163 {
2164 short theScriptCode;
2165 short theLangCode;
2166 }
2167
2168
2169 struct IntlText
2170 {
2171 short theScriptCode;
2172 short theLangCode;
2173 char* theText;
2174 }
2175