Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1051 lines
58 KiB

  1. /*
  2. File: AERegistry.h
  3. Contains: AppleEvents Registry Interface.
  4. Version: QuickTime 7.3
  5. Copyright: (c) 2007 (c) 1993-2001 by Apple Computer, Inc., all rights reserved
  6. Bugs?: For bug reports, consult the following page on
  7. the World Wide Web:
  8. http://developer.apple.com/bugreporter/
  9. */
  10. #ifndef __AEREGISTRY__
  11. #define __AEREGISTRY__
  12. #ifndef __MACTYPES__
  13. #include <MacTypes.h>
  14. #endif
  15. #ifndef __MACERRORS__
  16. #include <MacErrors.h>
  17. #endif
  18. #ifndef __APPLEEVENTS__
  19. #include <AppleEvents.h>
  20. #endif
  21. #if PRAGMA_ONCE
  22. #pragma once
  23. #endif
  24. #if PRAGMA_IMPORT
  25. #pragma import on
  26. #endif
  27. #if PRAGMA_STRUCT_ALIGN
  28. #pragma options align=mac68k
  29. #elif PRAGMA_STRUCT_PACKPUSH
  30. #pragma pack(push, 2)
  31. #elif PRAGMA_STRUCT_PACK
  32. #pragma pack(2)
  33. #endif
  34. enum {
  35. cAEList = FOUR_CHAR_CODE('list'), /* 0x6c697374 */
  36. cApplication = FOUR_CHAR_CODE('capp'), /* 0x63617070 */
  37. cArc = FOUR_CHAR_CODE('carc'), /* 0x63617263 */
  38. cBoolean = FOUR_CHAR_CODE('bool'), /* 0x626f6f6c */
  39. cCell = FOUR_CHAR_CODE('ccel'), /* 0x6363656c */
  40. cChar = FOUR_CHAR_CODE('cha '), /* 0x63686120 */
  41. cColorTable = FOUR_CHAR_CODE('clrt'), /* 0x636c7274 */
  42. cColumn = FOUR_CHAR_CODE('ccol'), /* 0x63636f6c */
  43. cDocument = FOUR_CHAR_CODE('docu'), /* 0x646f6375 */
  44. cDrawingArea = FOUR_CHAR_CODE('cdrw'), /* 0x63647277 */
  45. cEnumeration = FOUR_CHAR_CODE('enum'), /* 0x656e756d */
  46. cFile = FOUR_CHAR_CODE('file'), /* 0x66696c65 */
  47. cFixed = FOUR_CHAR_CODE('fixd'), /* 0x66697864 */
  48. cFixedPoint = FOUR_CHAR_CODE('fpnt'), /* 0x66706e74 */
  49. cFixedRectangle = FOUR_CHAR_CODE('frct'), /* 0x66726374 */
  50. cGraphicLine = FOUR_CHAR_CODE('glin'), /* 0x676c696e */
  51. cGraphicObject = FOUR_CHAR_CODE('cgob'), /* 0x63676f62 */
  52. cGraphicShape = FOUR_CHAR_CODE('cgsh'), /* 0x63677368 */
  53. cGraphicText = FOUR_CHAR_CODE('cgtx'), /* 0x63677478 */
  54. cGroupedGraphic = FOUR_CHAR_CODE('cpic') /* 0x63706963 */
  55. };
  56. enum {
  57. cInsertionLoc = FOUR_CHAR_CODE('insl'), /* 0x696e736c */
  58. cInsertionPoint = FOUR_CHAR_CODE('cins'), /* 0x63696e73 */
  59. cIntlText = FOUR_CHAR_CODE('itxt'), /* 0x69747874 */
  60. cIntlWritingCode = FOUR_CHAR_CODE('intl'), /* 0x696e746c */
  61. cItem = FOUR_CHAR_CODE('citm'), /* 0x6369746d */
  62. cLine = FOUR_CHAR_CODE('clin'), /* 0x636c696e */
  63. cLongDateTime = FOUR_CHAR_CODE('ldt '), /* 0x6c647420 */
  64. cLongFixed = FOUR_CHAR_CODE('lfxd'), /* 0x6c667864 */
  65. cLongFixedPoint = FOUR_CHAR_CODE('lfpt'), /* 0x6c667074 */
  66. cLongFixedRectangle = FOUR_CHAR_CODE('lfrc'), /* 0x6c667263 */
  67. cLongInteger = FOUR_CHAR_CODE('long'), /* 0x6c6f6e67 */
  68. cLongPoint = FOUR_CHAR_CODE('lpnt'), /* 0x6c706e74 */
  69. cLongRectangle = FOUR_CHAR_CODE('lrct'), /* 0x6c726374 */
  70. cMachineLoc = FOUR_CHAR_CODE('mLoc'), /* 0x6d4c6f63 */
  71. cMenu = FOUR_CHAR_CODE('cmnu'), /* 0x636d6e75 */
  72. cMenuItem = FOUR_CHAR_CODE('cmen'), /* 0x636d656e */
  73. cObject = FOUR_CHAR_CODE('cobj'), /* 0x636f626a */
  74. cObjectSpecifier = FOUR_CHAR_CODE('obj '), /* 0x6f626a20 */
  75. cOpenableObject = FOUR_CHAR_CODE('coob'), /* 0x636f6f62 */
  76. cOval = FOUR_CHAR_CODE('covl') /* 0x636f766c */
  77. };
  78. enum {
  79. cParagraph = FOUR_CHAR_CODE('cpar'), /* 0x63706172 */
  80. cPICT = FOUR_CHAR_CODE('PICT'), /* 0x50494354 */
  81. cPixel = FOUR_CHAR_CODE('cpxl'), /* 0x6370786c */
  82. cPixelMap = FOUR_CHAR_CODE('cpix'), /* 0x63706978 */
  83. cPolygon = FOUR_CHAR_CODE('cpgn'), /* 0x6370676e */
  84. cProperty = FOUR_CHAR_CODE('prop'), /* 0x70726f70 */
  85. cQDPoint = FOUR_CHAR_CODE('QDpt'), /* 0x51447074 */
  86. cQDRectangle = FOUR_CHAR_CODE('qdrt'), /* 0x71647274 */
  87. cRectangle = FOUR_CHAR_CODE('crec'), /* 0x63726563 */
  88. cRGBColor = FOUR_CHAR_CODE('cRGB'), /* 0x63524742 */
  89. cRotation = FOUR_CHAR_CODE('trot'), /* 0x74726f74 */
  90. cRoundedRectangle = FOUR_CHAR_CODE('crrc'), /* 0x63727263 */
  91. cRow = FOUR_CHAR_CODE('crow'), /* 0x63726f77 */
  92. cSelection = FOUR_CHAR_CODE('csel'), /* 0x6373656c */
  93. cShortInteger = FOUR_CHAR_CODE('shor'), /* 0x73686f72 */
  94. cTable = FOUR_CHAR_CODE('ctbl'), /* 0x6374626c */
  95. cText = FOUR_CHAR_CODE('ctxt'), /* 0x63747874 */
  96. cTextFlow = FOUR_CHAR_CODE('cflo'), /* 0x63666c6f */
  97. cTextStyles = FOUR_CHAR_CODE('tsty'), /* 0x74737479 */
  98. cType = FOUR_CHAR_CODE('type') /* 0x74797065 */
  99. };
  100. enum {
  101. cVersion = FOUR_CHAR_CODE('vers'), /* 0x76657273 */
  102. cWindow = FOUR_CHAR_CODE('cwin'), /* 0x6377696e */
  103. cWord = FOUR_CHAR_CODE('cwor'), /* 0x63776f72 */
  104. enumArrows = FOUR_CHAR_CODE('arro'), /* 0x6172726f */
  105. enumJustification = FOUR_CHAR_CODE('just'), /* 0x6a757374 */
  106. enumKeyForm = FOUR_CHAR_CODE('kfrm'), /* 0x6b66726d */
  107. enumPosition = FOUR_CHAR_CODE('posi'), /* 0x706f7369 */
  108. enumProtection = FOUR_CHAR_CODE('prtn'), /* 0x7072746e */
  109. enumQuality = FOUR_CHAR_CODE('qual'), /* 0x7175616c */
  110. enumSaveOptions = FOUR_CHAR_CODE('savo'), /* 0x7361766f */
  111. enumStyle = FOUR_CHAR_CODE('styl'), /* 0x7374796c */
  112. enumTransferMode = FOUR_CHAR_CODE('tran'), /* 0x7472616e */
  113. formUniqueID = FOUR_CHAR_CODE('ID '), /* 0x49442020 */
  114. kAEAbout = FOUR_CHAR_CODE('abou'), /* 0x61626f75 */
  115. kAEAfter = FOUR_CHAR_CODE('afte'), /* 0x61667465 */
  116. kAEAliasSelection = FOUR_CHAR_CODE('sali'), /* 0x73616c69 */
  117. kAEAllCaps = FOUR_CHAR_CODE('alcp'), /* 0x616c6370 */
  118. kAEArrowAtEnd = FOUR_CHAR_CODE('aren'), /* 0x6172656e */
  119. kAEArrowAtStart = FOUR_CHAR_CODE('arst'), /* 0x61727374 */
  120. kAEArrowBothEnds = FOUR_CHAR_CODE('arbo') /* 0x6172626f */
  121. };
  122. enum {
  123. kAEAsk = FOUR_CHAR_CODE('ask '), /* 0x61736b20 */
  124. kAEBefore = FOUR_CHAR_CODE('befo'), /* 0x6265666f */
  125. kAEBeginning = FOUR_CHAR_CODE('bgng'), /* 0x62676e67 */
  126. kAEBeginsWith = FOUR_CHAR_CODE('bgwt'), /* 0x62677774 */
  127. kAEBeginTransaction = FOUR_CHAR_CODE('begi'), /* 0x62656769 */
  128. kAEBold = FOUR_CHAR_CODE('bold'), /* 0x626f6c64 */
  129. kAECaseSensEquals = FOUR_CHAR_CODE('cseq'), /* 0x63736571 */
  130. kAECentered = FOUR_CHAR_CODE('cent'), /* 0x63656e74 */
  131. kAEChangeView = FOUR_CHAR_CODE('view'), /* 0x76696577 */
  132. kAEClone = FOUR_CHAR_CODE('clon'), /* 0x636c6f6e */
  133. kAEClose = FOUR_CHAR_CODE('clos'), /* 0x636c6f73 */
  134. kAECondensed = FOUR_CHAR_CODE('cond'), /* 0x636f6e64 */
  135. kAEContains = FOUR_CHAR_CODE('cont'), /* 0x636f6e74 */
  136. kAECopy = FOUR_CHAR_CODE('copy'), /* 0x636f7079 */
  137. kAECoreSuite = FOUR_CHAR_CODE('core'), /* 0x636f7265 */
  138. kAECountElements = FOUR_CHAR_CODE('cnte'), /* 0x636e7465 */
  139. kAECreateElement = FOUR_CHAR_CODE('crel'), /* 0x6372656c */
  140. kAECreatePublisher = FOUR_CHAR_CODE('cpub'), /* 0x63707562 */
  141. kAECut = FOUR_CHAR_CODE('cut '), /* 0x63757420 */
  142. kAEDelete = FOUR_CHAR_CODE('delo') /* 0x64656c6f */
  143. };
  144. enum {
  145. kAEDoObjectsExist = FOUR_CHAR_CODE('doex'), /* 0x646f6578 */
  146. kAEDoScript = FOUR_CHAR_CODE('dosc'), /* 0x646f7363 */
  147. kAEDrag = FOUR_CHAR_CODE('drag'), /* 0x64726167 */
  148. kAEDuplicateSelection = FOUR_CHAR_CODE('sdup'), /* 0x73647570 */
  149. kAEEditGraphic = FOUR_CHAR_CODE('edit'), /* 0x65646974 */
  150. kAEEmptyTrash = FOUR_CHAR_CODE('empt'), /* 0x656d7074 */
  151. kAEEnd = FOUR_CHAR_CODE('end '), /* 0x656e6420 */
  152. kAEEndsWith = FOUR_CHAR_CODE('ends'), /* 0x656e6473 */
  153. kAEEndTransaction = FOUR_CHAR_CODE('endt'), /* 0x656e6474 */
  154. kAEEquals = FOUR_CHAR_CODE('= '), /* 0x3d202020 */
  155. kAEExpanded = FOUR_CHAR_CODE('pexp'), /* 0x70657870 */
  156. kAEFast = FOUR_CHAR_CODE('fast'), /* 0x66617374 */
  157. kAEFinderEvents = FOUR_CHAR_CODE('FNDR'), /* 0x464e4452 */
  158. kAEFormulaProtect = FOUR_CHAR_CODE('fpro'), /* 0x6670726f */
  159. kAEFullyJustified = FOUR_CHAR_CODE('full'), /* 0x66756c6c */
  160. kAEGetClassInfo = FOUR_CHAR_CODE('qobj'), /* 0x716f626a */
  161. kAEGetData = FOUR_CHAR_CODE('getd'), /* 0x67657464 */
  162. kAEGetDataSize = FOUR_CHAR_CODE('dsiz'), /* 0x6473697a */
  163. kAEGetEventInfo = FOUR_CHAR_CODE('gtei'), /* 0x67746569 */
  164. kAEGetInfoSelection = FOUR_CHAR_CODE('sinf') /* 0x73696e66 */
  165. };
  166. enum {
  167. kAEGetPrivilegeSelection = FOUR_CHAR_CODE('sprv'), /* 0x73707276 */
  168. kAEGetSuiteInfo = FOUR_CHAR_CODE('gtsi'), /* 0x67747369 */
  169. kAEGreaterThan = FOUR_CHAR_CODE('> '), /* 0x3e202020 */
  170. kAEGreaterThanEquals = FOUR_CHAR_CODE('>= '), /* 0x3e3d2020 */
  171. kAEGrow = FOUR_CHAR_CODE('grow'), /* 0x67726f77 */
  172. kAEHidden = FOUR_CHAR_CODE('hidn'), /* 0x6869646e */
  173. kAEHiQuality = FOUR_CHAR_CODE('hiqu'), /* 0x68697175 */
  174. kAEImageGraphic = FOUR_CHAR_CODE('imgr'), /* 0x696d6772 */
  175. kAEIsUniform = FOUR_CHAR_CODE('isun'), /* 0x6973756e */
  176. kAEItalic = FOUR_CHAR_CODE('ital'), /* 0x6974616c */
  177. kAELeftJustified = FOUR_CHAR_CODE('left'), /* 0x6c656674 */
  178. kAELessThan = FOUR_CHAR_CODE('< '), /* 0x3c202020 */
  179. kAELessThanEquals = FOUR_CHAR_CODE('<= '), /* 0x3c3d2020 */
  180. kAELowercase = FOUR_CHAR_CODE('lowc'), /* 0x6c6f7763 */
  181. kAEMakeObjectsVisible = FOUR_CHAR_CODE('mvis'), /* 0x6d766973 */
  182. kAEMiscStandards = FOUR_CHAR_CODE('misc'), /* 0x6d697363 */
  183. kAEModifiable = FOUR_CHAR_CODE('modf'), /* 0x6d6f6466 */
  184. kAEMove = FOUR_CHAR_CODE('move'), /* 0x6d6f7665 */
  185. kAENo = FOUR_CHAR_CODE('no '), /* 0x6e6f2020 */
  186. kAENoArrow = FOUR_CHAR_CODE('arno') /* 0x61726e6f */
  187. };
  188. enum {
  189. kAENonmodifiable = FOUR_CHAR_CODE('nmod'), /* 0x6e6d6f64 */
  190. kAEOpen = FOUR_CHAR_CODE('odoc'), /* 0x6f646f63 */
  191. kAEOpenSelection = FOUR_CHAR_CODE('sope'), /* 0x736f7065 */
  192. kAEOutline = FOUR_CHAR_CODE('outl'), /* 0x6f75746c */
  193. kAEPageSetup = FOUR_CHAR_CODE('pgsu'), /* 0x70677375 */
  194. kAEPaste = FOUR_CHAR_CODE('past'), /* 0x70617374 */
  195. kAEPlain = FOUR_CHAR_CODE('plan'), /* 0x706c616e */
  196. kAEPrint = FOUR_CHAR_CODE('pdoc'), /* 0x70646f63 */
  197. kAEPrintSelection = FOUR_CHAR_CODE('spri'), /* 0x73707269 */
  198. kAEPrintWindow = FOUR_CHAR_CODE('pwin'), /* 0x7077696e */
  199. kAEPutAwaySelection = FOUR_CHAR_CODE('sput'), /* 0x73707574 */
  200. kAEQDAddOver = FOUR_CHAR_CODE('addo'), /* 0x6164646f */
  201. kAEQDAddPin = FOUR_CHAR_CODE('addp'), /* 0x61646470 */
  202. kAEQDAdMax = FOUR_CHAR_CODE('admx'), /* 0x61646d78 */
  203. kAEQDAdMin = FOUR_CHAR_CODE('admn'), /* 0x61646d6e */
  204. kAEQDBic = FOUR_CHAR_CODE('bic '), /* 0x62696320 */
  205. kAEQDBlend = FOUR_CHAR_CODE('blnd'), /* 0x626c6e64 */
  206. kAEQDCopy = FOUR_CHAR_CODE('cpy '), /* 0x63707920 */
  207. kAEQDNotBic = FOUR_CHAR_CODE('nbic'), /* 0x6e626963 */
  208. kAEQDNotCopy = FOUR_CHAR_CODE('ncpy') /* 0x6e637079 */
  209. };
  210. enum {
  211. kAEQDNotOr = FOUR_CHAR_CODE('ntor'), /* 0x6e746f72 */
  212. kAEQDNotXor = FOUR_CHAR_CODE('nxor'), /* 0x6e786f72 */
  213. kAEQDOr = FOUR_CHAR_CODE('or '), /* 0x6f722020 */
  214. kAEQDSubOver = FOUR_CHAR_CODE('subo'), /* 0x7375626f */
  215. kAEQDSubPin = FOUR_CHAR_CODE('subp'), /* 0x73756270 */
  216. kAEQDSupplementalSuite = FOUR_CHAR_CODE('qdsp'), /* 0x71647370 */
  217. kAEQDXor = FOUR_CHAR_CODE('xor '), /* 0x786f7220 */
  218. kAEQuickdrawSuite = FOUR_CHAR_CODE('qdrw'), /* 0x71647277 */
  219. kAEQuitAll = FOUR_CHAR_CODE('quia'), /* 0x71756961 */
  220. kAERedo = FOUR_CHAR_CODE('redo'), /* 0x7265646f */
  221. kAERegular = FOUR_CHAR_CODE('regl'), /* 0x7265676c */
  222. kAEReopenApplication = FOUR_CHAR_CODE('rapp'), /* 0x72617070 */
  223. kAEReplace = FOUR_CHAR_CODE('rplc'), /* 0x72706c63 */
  224. kAERequiredSuite = FOUR_CHAR_CODE('reqd'), /* 0x72657164 */
  225. kAERestart = FOUR_CHAR_CODE('rest'), /* 0x72657374 */
  226. kAERevealSelection = FOUR_CHAR_CODE('srev'), /* 0x73726576 */
  227. kAERevert = FOUR_CHAR_CODE('rvrt'), /* 0x72767274 */
  228. kAERightJustified = FOUR_CHAR_CODE('rght'), /* 0x72676874 */
  229. kAESave = FOUR_CHAR_CODE('save'), /* 0x73617665 */
  230. kAESelect = FOUR_CHAR_CODE('slct'), /* 0x736c6374 */
  231. kAESetData = FOUR_CHAR_CODE('setd') /* 0x73657464 */
  232. };
  233. enum {
  234. kAESetPosition = FOUR_CHAR_CODE('posn'), /* 0x706f736e */
  235. kAEShadow = FOUR_CHAR_CODE('shad'), /* 0x73686164 */
  236. kAEShowClipboard = FOUR_CHAR_CODE('shcl'), /* 0x7368636c */
  237. kAEShutDown = FOUR_CHAR_CODE('shut'), /* 0x73687574 */
  238. kAESleep = FOUR_CHAR_CODE('slep'), /* 0x736c6570 */
  239. kAESmallCaps = FOUR_CHAR_CODE('smcp'), /* 0x736d6370 */
  240. kAESpecialClassProperties = FOUR_CHAR_CODE('c@#!'), /* 0x63402321 */
  241. kAEStrikethrough = FOUR_CHAR_CODE('strk'), /* 0x7374726b */
  242. kAESubscript = FOUR_CHAR_CODE('sbsc'), /* 0x73627363 */
  243. kAESuperscript = FOUR_CHAR_CODE('spsc'), /* 0x73707363 */
  244. kAETableSuite = FOUR_CHAR_CODE('tbls'), /* 0x74626c73 */
  245. kAETextSuite = FOUR_CHAR_CODE('TEXT'), /* 0x54455854 */
  246. kAETransactionTerminated = FOUR_CHAR_CODE('ttrm'), /* 0x7474726d */
  247. kAEUnderline = FOUR_CHAR_CODE('undl'), /* 0x756e646c */
  248. kAEUndo = FOUR_CHAR_CODE('undo'), /* 0x756e646f */
  249. kAEWholeWordEquals = FOUR_CHAR_CODE('wweq'), /* 0x77776571 */
  250. kAEYes = FOUR_CHAR_CODE('yes '), /* 0x79657320 */
  251. kAEZoom = FOUR_CHAR_CODE('zoom') /* 0x7a6f6f6d */
  252. };
  253. /* EventRecord Classes and EventIDs */
  254. enum {
  255. kAEMouseClass = FOUR_CHAR_CODE('mous'),
  256. kAEDown = FOUR_CHAR_CODE('down'),
  257. kAEUp = FOUR_CHAR_CODE('up '),
  258. kAEMoved = FOUR_CHAR_CODE('move'),
  259. kAEStoppedMoving = FOUR_CHAR_CODE('stop'),
  260. kAEWindowClass = FOUR_CHAR_CODE('wind'),
  261. kAEUpdate = FOUR_CHAR_CODE('updt'),
  262. kAEActivate = FOUR_CHAR_CODE('actv'),
  263. kAEDeactivate = FOUR_CHAR_CODE('dact'),
  264. kAECommandClass = FOUR_CHAR_CODE('cmnd'), /* Modern Command Event Class */
  265. kAEKeyClass = FOUR_CHAR_CODE('keyc'),
  266. kAERawKey = FOUR_CHAR_CODE('rkey'), /* Modern Raw Key Event */
  267. kAEVirtualKey = FOUR_CHAR_CODE('keyc'), /* Modern Virtual Key Event */
  268. kAENavigationKey = FOUR_CHAR_CODE('nave'), /* Modern Navigation Key Event */
  269. kAEAutoDown = FOUR_CHAR_CODE('auto'),
  270. kAEApplicationClass = FOUR_CHAR_CODE('appl'),
  271. kAESuspend = FOUR_CHAR_CODE('susp'),
  272. kAEResume = FOUR_CHAR_CODE('rsme'),
  273. kAEDiskEvent = FOUR_CHAR_CODE('disk'),
  274. kAENullEvent = FOUR_CHAR_CODE('null'),
  275. kAEWakeUpEvent = FOUR_CHAR_CODE('wake'),
  276. kAEScrapEvent = FOUR_CHAR_CODE('scrp'),
  277. kAEHighLevel = FOUR_CHAR_CODE('high')
  278. };
  279. enum {
  280. keyAEAngle = FOUR_CHAR_CODE('kang'), /* 0x6b616e67 */
  281. keyAEArcAngle = FOUR_CHAR_CODE('parc') /* 0x70617263 */
  282. };
  283. enum {
  284. keyAEBaseAddr = FOUR_CHAR_CODE('badd'), /* 0x62616464 */
  285. keyAEBestType = FOUR_CHAR_CODE('pbst'), /* 0x70627374 */
  286. keyAEBgndColor = FOUR_CHAR_CODE('kbcl'), /* 0x6b62636c */
  287. keyAEBgndPattern = FOUR_CHAR_CODE('kbpt'), /* 0x6b627074 */
  288. keyAEBounds = FOUR_CHAR_CODE('pbnd'), /* 0x70626e64 */
  289. keyAECellList = FOUR_CHAR_CODE('kclt'), /* 0x6b636c74 */
  290. keyAEClassID = FOUR_CHAR_CODE('clID'), /* 0x636c4944 */
  291. keyAEColor = FOUR_CHAR_CODE('colr'), /* 0x636f6c72 */
  292. keyAEColorTable = FOUR_CHAR_CODE('cltb'), /* 0x636c7462 */
  293. keyAECurveHeight = FOUR_CHAR_CODE('kchd'), /* 0x6b636864 */
  294. keyAECurveWidth = FOUR_CHAR_CODE('kcwd'), /* 0x6b637764 */
  295. keyAEDashStyle = FOUR_CHAR_CODE('pdst'), /* 0x70647374 */
  296. keyAEData = FOUR_CHAR_CODE('data'), /* 0x64617461 */
  297. keyAEDefaultType = FOUR_CHAR_CODE('deft'), /* 0x64656674 */
  298. keyAEDefinitionRect = FOUR_CHAR_CODE('pdrt'), /* 0x70647274 */
  299. keyAEDescType = FOUR_CHAR_CODE('dstp'), /* 0x64737470 */
  300. keyAEDestination = FOUR_CHAR_CODE('dest'), /* 0x64657374 */
  301. keyAEDoAntiAlias = FOUR_CHAR_CODE('anta'), /* 0x616e7461 */
  302. keyAEDoDithered = FOUR_CHAR_CODE('gdit'), /* 0x67646974 */
  303. keyAEDoRotate = FOUR_CHAR_CODE('kdrt') /* 0x6b647274 */
  304. };
  305. enum {
  306. keyAEDoScale = FOUR_CHAR_CODE('ksca'), /* 0x6b736361 */
  307. keyAEDoTranslate = FOUR_CHAR_CODE('ktra'), /* 0x6b747261 */
  308. keyAEEditionFileLoc = FOUR_CHAR_CODE('eloc'), /* 0x656c6f63 */
  309. keyAEElements = FOUR_CHAR_CODE('elms'), /* 0x656c6d73 */
  310. keyAEEndPoint = FOUR_CHAR_CODE('pend'), /* 0x70656e64 */
  311. keyAEEventClass = FOUR_CHAR_CODE('evcl'), /* 0x6576636c */
  312. keyAEEventID = FOUR_CHAR_CODE('evti'), /* 0x65767469 */
  313. keyAEFile = FOUR_CHAR_CODE('kfil'), /* 0x6b66696c */
  314. keyAEFileType = FOUR_CHAR_CODE('fltp'), /* 0x666c7470 */
  315. keyAEFillColor = FOUR_CHAR_CODE('flcl'), /* 0x666c636c */
  316. keyAEFillPattern = FOUR_CHAR_CODE('flpt'), /* 0x666c7074 */
  317. keyAEFlipHorizontal = FOUR_CHAR_CODE('kfho'), /* 0x6b66686f */
  318. keyAEFlipVertical = FOUR_CHAR_CODE('kfvt'), /* 0x6b667674 */
  319. keyAEFont = FOUR_CHAR_CODE('font'), /* 0x666f6e74 */
  320. keyAEFormula = FOUR_CHAR_CODE('pfor'), /* 0x70666f72 */
  321. keyAEGraphicObjects = FOUR_CHAR_CODE('gobs'), /* 0x676f6273 */
  322. keyAEID = FOUR_CHAR_CODE('ID '), /* 0x49442020 */
  323. keyAEImageQuality = FOUR_CHAR_CODE('gqua'), /* 0x67717561 */
  324. keyAEInsertHere = FOUR_CHAR_CODE('insh'), /* 0x696e7368 */
  325. keyAEKeyForms = FOUR_CHAR_CODE('keyf') /* 0x6b657966 */
  326. };
  327. enum {
  328. keyAEKeyword = FOUR_CHAR_CODE('kywd'), /* 0x6b797764 */
  329. keyAELevel = FOUR_CHAR_CODE('levl'), /* 0x6c65766c */
  330. keyAELineArrow = FOUR_CHAR_CODE('arro'), /* 0x6172726f */
  331. keyAEName = FOUR_CHAR_CODE('pnam'), /* 0x706e616d */
  332. keyAENewElementLoc = FOUR_CHAR_CODE('pnel'), /* 0x706e656c */
  333. keyAEObject = FOUR_CHAR_CODE('kobj'), /* 0x6b6f626a */
  334. keyAEObjectClass = FOUR_CHAR_CODE('kocl'), /* 0x6b6f636c */
  335. keyAEOffStyles = FOUR_CHAR_CODE('ofst'), /* 0x6f667374 */
  336. keyAEOnStyles = FOUR_CHAR_CODE('onst'), /* 0x6f6e7374 */
  337. keyAEParameters = FOUR_CHAR_CODE('prms'), /* 0x70726d73 */
  338. keyAEParamFlags = FOUR_CHAR_CODE('pmfg'), /* 0x706d6667 */
  339. keyAEPenColor = FOUR_CHAR_CODE('ppcl'), /* 0x7070636c */
  340. keyAEPenPattern = FOUR_CHAR_CODE('pppa'), /* 0x70707061 */
  341. keyAEPenWidth = FOUR_CHAR_CODE('ppwd'), /* 0x70707764 */
  342. keyAEPixelDepth = FOUR_CHAR_CODE('pdpt'), /* 0x70647074 */
  343. keyAEPixMapMinus = FOUR_CHAR_CODE('kpmm'), /* 0x6b706d6d */
  344. keyAEPMTable = FOUR_CHAR_CODE('kpmt'), /* 0x6b706d74 */
  345. keyAEPointList = FOUR_CHAR_CODE('ptlt'), /* 0x70746c74 */
  346. keyAEPointSize = FOUR_CHAR_CODE('ptsz'), /* 0x7074737a */
  347. keyAEPosition = FOUR_CHAR_CODE('kpos') /* 0x6b706f73 */
  348. };
  349. enum {
  350. keyAEPropData = FOUR_CHAR_CODE('prdt'), /* 0x70726474 */
  351. keyAEProperties = FOUR_CHAR_CODE('qpro'), /* 0x7170726f */
  352. keyAEProperty = FOUR_CHAR_CODE('kprp'), /* 0x6b707270 */
  353. keyAEPropFlags = FOUR_CHAR_CODE('prfg'), /* 0x70726667 */
  354. keyAEPropID = FOUR_CHAR_CODE('prop'), /* 0x70726f70 */
  355. keyAEProtection = FOUR_CHAR_CODE('ppro'), /* 0x7070726f */
  356. keyAERenderAs = FOUR_CHAR_CODE('kren'), /* 0x6b72656e */
  357. keyAERequestedType = FOUR_CHAR_CODE('rtyp'), /* 0x72747970 */
  358. keyAEResult = FOUR_CHAR_CODE('----'), /* 0x2d2d2d2d */
  359. keyAEResultInfo = FOUR_CHAR_CODE('rsin'), /* 0x7273696e */
  360. keyAERotation = FOUR_CHAR_CODE('prot'), /* 0x70726f74 */
  361. keyAERotPoint = FOUR_CHAR_CODE('krtp'), /* 0x6b727470 */
  362. keyAERowList = FOUR_CHAR_CODE('krls'), /* 0x6b726c73 */
  363. keyAESaveOptions = FOUR_CHAR_CODE('savo'), /* 0x7361766f */
  364. keyAEScale = FOUR_CHAR_CODE('pscl'), /* 0x7073636c */
  365. keyAEScriptTag = FOUR_CHAR_CODE('psct'), /* 0x70736374 */
  366. keyAEShowWhere = FOUR_CHAR_CODE('show'), /* 0x73686f77 */
  367. keyAEStartAngle = FOUR_CHAR_CODE('pang'), /* 0x70616e67 */
  368. keyAEStartPoint = FOUR_CHAR_CODE('pstp'), /* 0x70737470 */
  369. keyAEStyles = FOUR_CHAR_CODE('ksty') /* 0x6b737479 */
  370. };
  371. enum {
  372. keyAESuiteID = FOUR_CHAR_CODE('suit'), /* 0x73756974 */
  373. keyAEText = FOUR_CHAR_CODE('ktxt'), /* 0x6b747874 */
  374. keyAETextColor = FOUR_CHAR_CODE('ptxc'), /* 0x70747863 */
  375. keyAETextFont = FOUR_CHAR_CODE('ptxf'), /* 0x70747866 */
  376. keyAETextPointSize = FOUR_CHAR_CODE('ptps'), /* 0x70747073 */
  377. keyAETextStyles = FOUR_CHAR_CODE('txst'), /* 0x74787374 */
  378. keyAETextLineHeight = FOUR_CHAR_CODE('ktlh'), /* type ShortInteger */
  379. keyAETextLineAscent = FOUR_CHAR_CODE('ktas'), /* type ShortInteger */
  380. keyAETheText = FOUR_CHAR_CODE('thtx'), /* 0x74687478 */
  381. keyAETransferMode = FOUR_CHAR_CODE('pptm'), /* 0x7070746d */
  382. keyAETranslation = FOUR_CHAR_CODE('ptrs'), /* 0x70747273 */
  383. keyAETryAsStructGraf = FOUR_CHAR_CODE('toog'), /* 0x746f6f67 */
  384. keyAEUniformStyles = FOUR_CHAR_CODE('ustl'), /* 0x7573746c */
  385. keyAEUpdateOn = FOUR_CHAR_CODE('pupd'), /* 0x70757064 */
  386. keyAEUserTerm = FOUR_CHAR_CODE('utrm'), /* 0x7574726d */
  387. keyAEWindow = FOUR_CHAR_CODE('wndw'), /* 0x776e6477 */
  388. keyAEWritingCode = FOUR_CHAR_CODE('wrcd') /* 0x77726364 */
  389. };
  390. enum {
  391. keyMiscellaneous = FOUR_CHAR_CODE('fmsc'), /* 0x666d7363 */
  392. keySelection = FOUR_CHAR_CODE('fsel'), /* 0x6673656c */
  393. keyWindow = FOUR_CHAR_CODE('kwnd'), /* 0x6b776e64 */
  394. /* EventRecord keys */
  395. keyWhen = FOUR_CHAR_CODE('when'),
  396. keyWhere = FOUR_CHAR_CODE('wher'),
  397. keyModifiers = FOUR_CHAR_CODE('mods'),
  398. keyKey = FOUR_CHAR_CODE('key '),
  399. keyKeyCode = FOUR_CHAR_CODE('code'),
  400. keyKeyboard = FOUR_CHAR_CODE('keyb'),
  401. keyDriveNumber = FOUR_CHAR_CODE('drv#'),
  402. keyErrorCode = FOUR_CHAR_CODE('err#'),
  403. keyHighLevelClass = FOUR_CHAR_CODE('hcls'),
  404. keyHighLevelID = FOUR_CHAR_CODE('hid ')
  405. };
  406. enum {
  407. pArcAngle = FOUR_CHAR_CODE('parc'), /* 0x70617263 */
  408. pBackgroundColor = FOUR_CHAR_CODE('pbcl'), /* 0x7062636c */
  409. pBackgroundPattern = FOUR_CHAR_CODE('pbpt'), /* 0x70627074 */
  410. pBestType = FOUR_CHAR_CODE('pbst'), /* 0x70627374 */
  411. pBounds = FOUR_CHAR_CODE('pbnd'), /* 0x70626e64 */
  412. pClass = FOUR_CHAR_CODE('pcls'), /* 0x70636c73 */
  413. pClipboard = FOUR_CHAR_CODE('pcli'), /* 0x70636c69 */
  414. pColor = FOUR_CHAR_CODE('colr'), /* 0x636f6c72 */
  415. pColorTable = FOUR_CHAR_CODE('cltb'), /* 0x636c7462 */
  416. pContents = FOUR_CHAR_CODE('pcnt'), /* 0x70636e74 */
  417. pCornerCurveHeight = FOUR_CHAR_CODE('pchd'), /* 0x70636864 */
  418. pCornerCurveWidth = FOUR_CHAR_CODE('pcwd'), /* 0x70637764 */
  419. pDashStyle = FOUR_CHAR_CODE('pdst'), /* 0x70647374 */
  420. pDefaultType = FOUR_CHAR_CODE('deft'), /* 0x64656674 */
  421. pDefinitionRect = FOUR_CHAR_CODE('pdrt'), /* 0x70647274 */
  422. pEnabled = FOUR_CHAR_CODE('enbl'), /* 0x656e626c */
  423. pEndPoint = FOUR_CHAR_CODE('pend'), /* 0x70656e64 */
  424. pFillColor = FOUR_CHAR_CODE('flcl'), /* 0x666c636c */
  425. pFillPattern = FOUR_CHAR_CODE('flpt'), /* 0x666c7074 */
  426. pFont = FOUR_CHAR_CODE('font') /* 0x666f6e74 */
  427. };
  428. enum {
  429. pFormula = FOUR_CHAR_CODE('pfor'), /* 0x70666f72 */
  430. pGraphicObjects = FOUR_CHAR_CODE('gobs'), /* 0x676f6273 */
  431. pHasCloseBox = FOUR_CHAR_CODE('hclb'), /* 0x68636c62 */
  432. pHasTitleBar = FOUR_CHAR_CODE('ptit'), /* 0x70746974 */
  433. pID = FOUR_CHAR_CODE('ID '), /* 0x49442020 */
  434. pIndex = FOUR_CHAR_CODE('pidx'), /* 0x70696478 */
  435. pInsertionLoc = FOUR_CHAR_CODE('pins'), /* 0x70696e73 */
  436. pIsFloating = FOUR_CHAR_CODE('isfl'), /* 0x6973666c */
  437. pIsFrontProcess = FOUR_CHAR_CODE('pisf'), /* 0x70697366 */
  438. pIsModal = FOUR_CHAR_CODE('pmod'), /* 0x706d6f64 */
  439. pIsModified = FOUR_CHAR_CODE('imod'), /* 0x696d6f64 */
  440. pIsResizable = FOUR_CHAR_CODE('prsz'), /* 0x7072737a */
  441. pIsStationeryPad = FOUR_CHAR_CODE('pspd'), /* 0x70737064 */
  442. pIsZoomable = FOUR_CHAR_CODE('iszm'), /* 0x69737a6d */
  443. pIsZoomed = FOUR_CHAR_CODE('pzum'), /* 0x707a756d */
  444. pItemNumber = FOUR_CHAR_CODE('itmn'), /* 0x69746d6e */
  445. pJustification = FOUR_CHAR_CODE('pjst'), /* 0x706a7374 */
  446. pLineArrow = FOUR_CHAR_CODE('arro'), /* 0x6172726f */
  447. pMenuID = FOUR_CHAR_CODE('mnid'), /* 0x6d6e6964 */
  448. pName = FOUR_CHAR_CODE('pnam') /* 0x706e616d */
  449. };
  450. enum {
  451. pNewElementLoc = FOUR_CHAR_CODE('pnel'), /* 0x706e656c */
  452. pPenColor = FOUR_CHAR_CODE('ppcl'), /* 0x7070636c */
  453. pPenPattern = FOUR_CHAR_CODE('pppa'), /* 0x70707061 */
  454. pPenWidth = FOUR_CHAR_CODE('ppwd'), /* 0x70707764 */
  455. pPixelDepth = FOUR_CHAR_CODE('pdpt'), /* 0x70647074 */
  456. pPointList = FOUR_CHAR_CODE('ptlt'), /* 0x70746c74 */
  457. pPointSize = FOUR_CHAR_CODE('ptsz'), /* 0x7074737a */
  458. pProtection = FOUR_CHAR_CODE('ppro'), /* 0x7070726f */
  459. pRotation = FOUR_CHAR_CODE('prot'), /* 0x70726f74 */
  460. pScale = FOUR_CHAR_CODE('pscl'), /* 0x7073636c */
  461. pScript = FOUR_CHAR_CODE('scpt'), /* 0x73637074 */
  462. pScriptTag = FOUR_CHAR_CODE('psct'), /* 0x70736374 */
  463. pSelected = FOUR_CHAR_CODE('selc'), /* 0x73656c63 */
  464. pSelection = FOUR_CHAR_CODE('sele'), /* 0x73656c65 */
  465. pStartAngle = FOUR_CHAR_CODE('pang'), /* 0x70616e67 */
  466. pStartPoint = FOUR_CHAR_CODE('pstp'), /* 0x70737470 */
  467. pTextColor = FOUR_CHAR_CODE('ptxc'), /* 0x70747863 */
  468. pTextFont = FOUR_CHAR_CODE('ptxf'), /* 0x70747866 */
  469. pTextItemDelimiters = FOUR_CHAR_CODE('txdl'), /* 0x7478646c */
  470. pTextPointSize = FOUR_CHAR_CODE('ptps') /* 0x70747073 */
  471. };
  472. enum {
  473. pTextStyles = FOUR_CHAR_CODE('txst'), /* 0x74787374 */
  474. pTransferMode = FOUR_CHAR_CODE('pptm'), /* 0x7070746d */
  475. pTranslation = FOUR_CHAR_CODE('ptrs'), /* 0x70747273 */
  476. pUniformStyles = FOUR_CHAR_CODE('ustl'), /* 0x7573746c */
  477. pUpdateOn = FOUR_CHAR_CODE('pupd'), /* 0x70757064 */
  478. pUserSelection = FOUR_CHAR_CODE('pusl'), /* 0x7075736c */
  479. pVersion = FOUR_CHAR_CODE('vers'), /* 0x76657273 */
  480. pVisible = FOUR_CHAR_CODE('pvis') /* 0x70766973 */
  481. };
  482. enum {
  483. typeAEText = FOUR_CHAR_CODE('tTXT'), /* 0x74545854 */
  484. typeArc = FOUR_CHAR_CODE('carc'), /* 0x63617263 */
  485. typeBest = FOUR_CHAR_CODE('best'), /* 0x62657374 */
  486. typeCell = FOUR_CHAR_CODE('ccel'), /* 0x6363656c */
  487. typeClassInfo = FOUR_CHAR_CODE('gcli'), /* 0x67636c69 */
  488. typeColorTable = FOUR_CHAR_CODE('clrt'), /* 0x636c7274 */
  489. typeColumn = FOUR_CHAR_CODE('ccol'), /* 0x63636f6c */
  490. typeDashStyle = FOUR_CHAR_CODE('tdas'), /* 0x74646173 */
  491. typeData = FOUR_CHAR_CODE('tdta'), /* 0x74647461 */
  492. typeDrawingArea = FOUR_CHAR_CODE('cdrw'), /* 0x63647277 */
  493. typeElemInfo = FOUR_CHAR_CODE('elin'), /* 0x656c696e */
  494. typeEnumeration = FOUR_CHAR_CODE('enum'), /* 0x656e756d */
  495. typeEPS = FOUR_CHAR_CODE('EPS '), /* 0x45505320 */
  496. typeEventInfo = FOUR_CHAR_CODE('evin') /* 0x6576696e */
  497. };
  498. enum {
  499. typeFinderWindow = FOUR_CHAR_CODE('fwin'), /* 0x6677696e */
  500. typeFixedPoint = FOUR_CHAR_CODE('fpnt'), /* 0x66706e74 */
  501. typeFixedRectangle = FOUR_CHAR_CODE('frct'), /* 0x66726374 */
  502. typeGraphicLine = FOUR_CHAR_CODE('glin'), /* 0x676c696e */
  503. typeGraphicText = FOUR_CHAR_CODE('cgtx'), /* 0x63677478 */
  504. typeGroupedGraphic = FOUR_CHAR_CODE('cpic'), /* 0x63706963 */
  505. typeInsertionLoc = FOUR_CHAR_CODE('insl'), /* 0x696e736c */
  506. typeIntlText = FOUR_CHAR_CODE('itxt'), /* 0x69747874 */
  507. typeIntlWritingCode = FOUR_CHAR_CODE('intl'), /* 0x696e746c */
  508. typeLongDateTime = FOUR_CHAR_CODE('ldt '), /* 0x6c647420 */
  509. typeISO8601DateTime = FOUR_CHAR_CODE('isot'), /* 0x69736f74 data is ascii text of an ISO8601 date */
  510. typeLongFixed = FOUR_CHAR_CODE('lfxd'), /* 0x6c667864 */
  511. typeLongFixedPoint = FOUR_CHAR_CODE('lfpt'), /* 0x6c667074 */
  512. typeLongFixedRectangle = FOUR_CHAR_CODE('lfrc'), /* 0x6c667263 */
  513. typeLongPoint = FOUR_CHAR_CODE('lpnt'), /* 0x6c706e74 */
  514. typeLongRectangle = FOUR_CHAR_CODE('lrct'), /* 0x6c726374 */
  515. typeMachineLoc = FOUR_CHAR_CODE('mLoc'), /* 0x6d4c6f63 */
  516. typeOval = FOUR_CHAR_CODE('covl'), /* 0x636f766c */
  517. typeParamInfo = FOUR_CHAR_CODE('pmin'), /* 0x706d696e */
  518. typePict = FOUR_CHAR_CODE('PICT') /* 0x50494354 */
  519. };
  520. enum {
  521. typePixelMap = FOUR_CHAR_CODE('cpix'), /* 0x63706978 */
  522. typePixMapMinus = FOUR_CHAR_CODE('tpmm'), /* 0x74706d6d */
  523. typePolygon = FOUR_CHAR_CODE('cpgn'), /* 0x6370676e */
  524. typePropInfo = FOUR_CHAR_CODE('pinf'), /* 0x70696e66 */
  525. typePtr = FOUR_CHAR_CODE('ptr '), /* 0x70747220 */
  526. typeQDPoint = FOUR_CHAR_CODE('QDpt'), /* 0x51447074 */
  527. typeQDRegion = FOUR_CHAR_CODE('Qrgn'), /* 0x51447074 (data is actual region data, including rectangle and size, _not_ region handle or ptr)*/
  528. typeRectangle = FOUR_CHAR_CODE('crec'), /* 0x63726563 */
  529. typeRGB16 = FOUR_CHAR_CODE('tr16'), /* 0x74723136 */
  530. typeRGB96 = FOUR_CHAR_CODE('tr96'), /* 0x74723936 */
  531. typeRGBColor = FOUR_CHAR_CODE('cRGB'), /* 0x63524742 */
  532. typeRotation = FOUR_CHAR_CODE('trot'), /* 0x74726f74 */
  533. typeRoundedRectangle = FOUR_CHAR_CODE('crrc'), /* 0x63727263 */
  534. typeRow = FOUR_CHAR_CODE('crow'), /* 0x63726f77 */
  535. typeScrapStyles = FOUR_CHAR_CODE('styl'), /* 0x7374796c */
  536. typeScript = FOUR_CHAR_CODE('scpt'), /* 0x73637074 */
  537. typeStyledText = FOUR_CHAR_CODE('STXT'), /* 0x53545854 */
  538. typeSuiteInfo = FOUR_CHAR_CODE('suin'), /* 0x7375696e */
  539. typeTable = FOUR_CHAR_CODE('ctbl'), /* 0x6374626c */
  540. typeTextStyles = FOUR_CHAR_CODE('tsty') /* 0x74737479 */
  541. };
  542. enum {
  543. typeTIFF = FOUR_CHAR_CODE('TIFF'), /* 0x54494646 */
  544. typeVersion = FOUR_CHAR_CODE('vers') /* 0x76657273 */
  545. };
  546. enum {
  547. kAEMenuClass = FOUR_CHAR_CODE('menu'),
  548. kAEMenuSelect = FOUR_CHAR_CODE('mhit'),
  549. kAEMouseDown = FOUR_CHAR_CODE('mdwn'),
  550. kAEMouseDownInBack = FOUR_CHAR_CODE('mdbk'),
  551. kAEKeyDown = FOUR_CHAR_CODE('kdwn'),
  552. kAEResized = FOUR_CHAR_CODE('rsiz'),
  553. kAEPromise = FOUR_CHAR_CODE('prom')
  554. };
  555. enum {
  556. keyMenuID = FOUR_CHAR_CODE('mid '),
  557. keyMenuItem = FOUR_CHAR_CODE('mitm'),
  558. keyCloseAllWindows = FOUR_CHAR_CODE('caw '),
  559. keyOriginalBounds = FOUR_CHAR_CODE('obnd'),
  560. keyNewBounds = FOUR_CHAR_CODE('nbnd'),
  561. keyLocalWhere = FOUR_CHAR_CODE('lwhr')
  562. };
  563. enum {
  564. typeHIMenu = FOUR_CHAR_CODE('mobj'),
  565. typeHIWindow = FOUR_CHAR_CODE('wobj')
  566. };
  567. enum {
  568. kBySmallIcon = 0,
  569. kByIconView = 1,
  570. kByNameView = 2,
  571. kByDateView = 3,
  572. kBySizeView = 4,
  573. kByKindView = 5,
  574. kByCommentView = 6,
  575. kByLabelView = 7,
  576. kByVersionView = 8
  577. };
  578. enum {
  579. kAEInfo = 11,
  580. kAEMain = 0,
  581. kAESharing = 13
  582. };
  583. enum {
  584. kAEZoomIn = 7,
  585. kAEZoomOut = 8
  586. };
  587. enum {
  588. kTextServiceClass = FOUR_CHAR_CODE('tsvc'),
  589. kUpdateActiveInputArea = FOUR_CHAR_CODE('updt'), /* update the active input area */
  590. kShowHideInputWindow = FOUR_CHAR_CODE('shiw'), /* show or hide the input window */
  591. kPos2Offset = FOUR_CHAR_CODE('p2st'), /* converting global coordinates to char position */
  592. kOffset2Pos = FOUR_CHAR_CODE('st2p'), /* converting char position to global coordinates */
  593. kUnicodeNotFromInputMethod = FOUR_CHAR_CODE('unim'), /* Unicode text when event not handled by Input Method or no Input Method */
  594. kGetSelectedText = FOUR_CHAR_CODE('gtxt'), /* Get text for current selection */
  595. keyAETSMDocumentRefcon = FOUR_CHAR_CODE('refc'), /* TSM document refcon, typeLongInteger */
  596. keyAEServerInstance = FOUR_CHAR_CODE('srvi'), /* component instance */
  597. keyAETheData = FOUR_CHAR_CODE('kdat'), /* typeText */
  598. keyAEFixLength = FOUR_CHAR_CODE('fixl'), /* fix len */
  599. keyAEUpdateRange = FOUR_CHAR_CODE('udng'), /* typeTextRangeArray */
  600. keyAECurrentPoint = FOUR_CHAR_CODE('cpos'), /* current point */
  601. keyAEBufferSize = FOUR_CHAR_CODE('buff'), /* buffer size to get the text */
  602. keyAEMoveView = FOUR_CHAR_CODE('mvvw'), /* move view flag */
  603. keyAENextBody = FOUR_CHAR_CODE('nxbd'), /* next or previous body */
  604. keyAETSMScriptTag = FOUR_CHAR_CODE('sclg'),
  605. keyAETSMTextFont = FOUR_CHAR_CODE('ktxf'), /* FMFontFamily or FOND ID */
  606. keyAETSMTextFMFont = FOUR_CHAR_CODE('ktxm'), /* FMFont */
  607. keyAETSMTextPointSize = FOUR_CHAR_CODE('ktps'),
  608. keyAETSMEventRecord = FOUR_CHAR_CODE('tevt'), /* Low level Event Record, typeLowLevelEventRecord */
  609. keyAETSMEventRef = FOUR_CHAR_CODE('tevr'), /* Carbon EventRef, typeEventRef */
  610. keyAETextServiceEncoding = FOUR_CHAR_CODE('tsen'), /* Text Service encoding, mac or Unicode in UpdateActiveInputArea or GetSelectedText events. */
  611. keyAETextServiceMacEncoding = FOUR_CHAR_CODE('tmen'), /* Target mac encoding for TSM conversion of text from Unicode text service. */
  612. keyAETSMGlyphInfoArray = FOUR_CHAR_CODE('tgia'), /* typeGlyphInfoArray */
  613. typeTextRange = FOUR_CHAR_CODE('txrn'), /* TextRange */
  614. typeComponentInstance = FOUR_CHAR_CODE('cmpi'), /* server instance */
  615. typeOffsetArray = FOUR_CHAR_CODE('ofay'), /* offset array */
  616. typeTextRangeArray = FOUR_CHAR_CODE('tray'),
  617. typeLowLevelEventRecord = FOUR_CHAR_CODE('evtr'), /* Low Level Event Record */
  618. typeGlyphInfoArray = FOUR_CHAR_CODE('glia'), /* Glyph/FMFont info array for sub ranges of Unicode text. See GlyphInfoArray in TextServices.h */
  619. typeEventRef = FOUR_CHAR_CODE('evrf'), /* Carbon EventRef */
  620. typeText = typeChar /* Plain text */
  621. };
  622. /* Desc type constants */
  623. enum {
  624. kTSMOutsideOfBody = 1,
  625. kTSMInsideOfBody = 2,
  626. kTSMInsideOfActiveInputArea = 3
  627. };
  628. enum {
  629. kNextBody = 1,
  630. kPreviousBody = 2
  631. };
  632. struct TextRange {
  633. long fStart;
  634. long fEnd;
  635. short fHiliteStyle;
  636. };
  637. typedef struct TextRange TextRange;
  638. typedef TextRange * TextRangePtr;
  639. typedef TextRangePtr * TextRangeHandle;
  640. struct TextRangeArray {
  641. short fNumOfRanges; /* specify the size of the fRange array */
  642. TextRange fRange[1]; /* when fNumOfRanges > 1, the size of this array has to be calculated */
  643. };
  644. typedef struct TextRangeArray TextRangeArray;
  645. typedef TextRangeArray * TextRangeArrayPtr;
  646. typedef TextRangeArrayPtr * TextRangeArrayHandle;
  647. struct OffsetArray {
  648. short fNumOfOffsets; /* specify the size of the fOffset array */
  649. long fOffset[1]; /* when fNumOfOffsets > 1, the size of this array has to be calculated */
  650. };
  651. typedef struct OffsetArray OffsetArray;
  652. typedef OffsetArray * OffsetArrayPtr;
  653. typedef OffsetArrayPtr * OffsetArrayHandle;
  654. struct WritingCode {
  655. ScriptCode theScriptCode;
  656. LangCode theLangCode;
  657. };
  658. typedef struct WritingCode WritingCode;
  659. struct IntlText {
  660. ScriptCode theScriptCode;
  661. LangCode theLangCode;
  662. char theText[1]; /* variable length data */
  663. };
  664. typedef struct IntlText IntlText;
  665. /* Hilite styles */
  666. enum {
  667. kCaretPosition = 1, /* specify caret position */
  668. kRawText = 2, /* specify range of raw text */
  669. kSelectedRawText = 3, /* specify range of selected raw text */
  670. kConvertedText = 4, /* specify range of converted text */
  671. kSelectedConvertedText = 5, /* specify range of selected converted text */
  672. kBlockFillText = 6, /* Block Fill hilite style */
  673. kOutlineText = 7, /* Outline hilite style */
  674. kSelectedText = 8 /* Selected hilite style */
  675. };
  676. enum {
  677. keyAEHiliteRange = FOUR_CHAR_CODE('hrng'), /* typeTextRangeArray for System 7, typeHiliteRangeArray for System 8 */
  678. keyAEPinRange = FOUR_CHAR_CODE('pnrg'), /* typeTextRange for System 7, typeTextRegionRange for System 8 */
  679. keyAEClauseOffsets = FOUR_CHAR_CODE('clau'), /* typeOffsetArray for System 7, typeClauseOffsetArray for System 8 */
  680. keyAEOffset = FOUR_CHAR_CODE('ofst'), /* typeLongInteger for System 7, typeByteOffset for System 8 */
  681. keyAEPoint = FOUR_CHAR_CODE('gpos'), /* typePoint for System 7, typeQDPoint for System 8 */
  682. keyAELeftSide = FOUR_CHAR_CODE('klef'), /* typeBoolean */
  683. keyAERegionClass = FOUR_CHAR_CODE('rgnc'), /* typeShortInteger for System 7, typeRegionClass for System 8 */
  684. keyAEDragging = FOUR_CHAR_CODE('bool') /* typeBoolean */
  685. };
  686. #if OLDROUTINENAMES
  687. enum {
  688. keyAELeadingEdge = keyAELeftSide
  689. };
  690. #endif /* OLDROUTINENAMES */
  691. enum {
  692. /* AppleScript 1.3: New Text types */
  693. typeUnicodeText = FOUR_CHAR_CODE('utxt'),
  694. typeStyledUnicodeText = FOUR_CHAR_CODE('sutx'),
  695. typeUTF8Text = FOUR_CHAR_CODE('utf8'),
  696. typeEncodedString = FOUR_CHAR_CODE('encs'),
  697. typeCString = FOUR_CHAR_CODE('cstr'),
  698. typePString = FOUR_CHAR_CODE('pstr')
  699. };
  700. enum {
  701. /* AppleScript 1.3: Unit types */
  702. typeMeters = FOUR_CHAR_CODE('metr'), /* Base Unit */
  703. typeInches = FOUR_CHAR_CODE('inch'),
  704. typeFeet = FOUR_CHAR_CODE('feet'),
  705. typeYards = FOUR_CHAR_CODE('yard'),
  706. typeMiles = FOUR_CHAR_CODE('mile'),
  707. typeKilometers = FOUR_CHAR_CODE('kmtr'),
  708. typeCentimeters = FOUR_CHAR_CODE('cmtr'),
  709. typeSquareMeters = FOUR_CHAR_CODE('sqrm'), /* Base Unit */
  710. typeSquareFeet = FOUR_CHAR_CODE('sqft'),
  711. typeSquareYards = FOUR_CHAR_CODE('sqyd'),
  712. typeSquareMiles = FOUR_CHAR_CODE('sqmi'),
  713. typeSquareKilometers = FOUR_CHAR_CODE('sqkm'),
  714. typeLiters = FOUR_CHAR_CODE('litr'), /* Base Unit */
  715. typeQuarts = FOUR_CHAR_CODE('qrts'),
  716. typeGallons = FOUR_CHAR_CODE('galn'),
  717. typeCubicMeters = FOUR_CHAR_CODE('cmet'), /* Base Unit */
  718. typeCubicFeet = FOUR_CHAR_CODE('cfet'),
  719. typeCubicInches = FOUR_CHAR_CODE('cuin'),
  720. typeCubicCentimeter = FOUR_CHAR_CODE('ccmt'),
  721. typeCubicYards = FOUR_CHAR_CODE('cyrd'),
  722. typeKilograms = FOUR_CHAR_CODE('kgrm'), /* Base Unit */
  723. typeGrams = FOUR_CHAR_CODE('gram'),
  724. typeOunces = FOUR_CHAR_CODE('ozs '),
  725. typePounds = FOUR_CHAR_CODE('lbs '),
  726. typeDegreesC = FOUR_CHAR_CODE('degc'), /* Base Unit */
  727. typeDegreesF = FOUR_CHAR_CODE('degf'),
  728. typeDegreesK = FOUR_CHAR_CODE('degk')
  729. };
  730. enum {
  731. /* AppleScript 1.3: Folder Actions */
  732. kFAServerApp = FOUR_CHAR_CODE('ssrv'), /* Creator code for Folder Actions Server*/
  733. kDoFolderActionEvent = FOUR_CHAR_CODE('fola'), /* Event the Finder sends to the Folder Actions FBA*/
  734. kFolderActionCode = FOUR_CHAR_CODE('actn'), /* Parameter that contains the Folder Action*/
  735. kFolderOpenedEvent = FOUR_CHAR_CODE('fopn'), /* Value of kFolderActionCode parameter; sent to script as event*/
  736. kFolderClosedEvent = FOUR_CHAR_CODE('fclo'),
  737. kFolderWindowMovedEvent = FOUR_CHAR_CODE('fsiz'),
  738. kFolderItemsAddedEvent = FOUR_CHAR_CODE('fget'),
  739. kFolderItemsRemovedEvent = FOUR_CHAR_CODE('flos'),
  740. kItemList = FOUR_CHAR_CODE('flst'), /* List parameter for added and removed items*/
  741. kNewSizeParameter = FOUR_CHAR_CODE('fnsz'), /* Parameter for moved window*/
  742. kFASuiteCode = FOUR_CHAR_CODE('faco'), /* Suite code for the following events*/
  743. kFAAttachCommand = FOUR_CHAR_CODE('atfa'), /* Attach event id*/
  744. kFARemoveCommand = FOUR_CHAR_CODE('rmfa'), /* Remove event id*/
  745. kFAEditCommand = FOUR_CHAR_CODE('edfa'), /* Edit event id*/
  746. kFAFileParam = FOUR_CHAR_CODE('faal'), /* Key for file parameter for Attach*/
  747. kFAIndexParam = FOUR_CHAR_CODE('indx') /* Key for index (0-based) parameter for Remove and Edit*/
  748. };
  749. /* AppleScript 1.3 Internet Suite */
  750. enum {
  751. /* Suite code */
  752. kAEInternetSuite = FOUR_CHAR_CODE('gurl'),
  753. kAEISWebStarSuite = 0x575757BD
  754. };
  755. enum {
  756. /* Events */
  757. kAEISGetURL = FOUR_CHAR_CODE('gurl'),
  758. KAEISHandleCGI = FOUR_CHAR_CODE('sdoc')
  759. };
  760. enum {
  761. /* Classes */
  762. cURL = FOUR_CHAR_CODE('url '),
  763. cInternetAddress = FOUR_CHAR_CODE('IPAD'),
  764. cHTML = FOUR_CHAR_CODE('html'),
  765. cFTPItem = FOUR_CHAR_CODE('ftp ')
  766. };
  767. enum {
  768. /* Parameters */
  769. kAEISHTTPSearchArgs = FOUR_CHAR_CODE('kfor'),
  770. kAEISPostArgs = FOUR_CHAR_CODE('post'),
  771. kAEISMethod = FOUR_CHAR_CODE('meth'),
  772. kAEISClientAddress = FOUR_CHAR_CODE('addr'),
  773. kAEISUserName = FOUR_CHAR_CODE('user'),
  774. kAEISPassword = FOUR_CHAR_CODE('pass'),
  775. kAEISFromUser = FOUR_CHAR_CODE('frmu'),
  776. kAEISServerName = FOUR_CHAR_CODE('svnm'),
  777. kAEISServerPort = FOUR_CHAR_CODE('svpt'),
  778. kAEISScriptName = FOUR_CHAR_CODE('scnm'),
  779. kAEISContentType = FOUR_CHAR_CODE('ctyp'),
  780. kAEISReferrer = FOUR_CHAR_CODE('refr'),
  781. kAEISUserAgent = FOUR_CHAR_CODE('Agnt'),
  782. kAEISAction = FOUR_CHAR_CODE('Kact'),
  783. kAEISActionPath = FOUR_CHAR_CODE('Kapt'),
  784. kAEISClientIP = FOUR_CHAR_CODE('Kcip'),
  785. kAEISFullRequest = FOUR_CHAR_CODE('Kfrq')
  786. };
  787. enum {
  788. /* Properties */
  789. pScheme = FOUR_CHAR_CODE('pusc'),
  790. pHost = FOUR_CHAR_CODE('HOST'),
  791. pPath = FOUR_CHAR_CODE('FTPc'),
  792. pUserName = FOUR_CHAR_CODE('RAun'),
  793. pUserPassword = FOUR_CHAR_CODE('RApw'),
  794. pDNSForm = FOUR_CHAR_CODE('pDNS'),
  795. pURL = FOUR_CHAR_CODE('pURL'),
  796. pTextEncoding = FOUR_CHAR_CODE('ptxe'),
  797. pFTPKind = FOUR_CHAR_CODE('kind')
  798. };
  799. enum {
  800. /* Scheme enumerations */
  801. eScheme = FOUR_CHAR_CODE('esch'),
  802. eurlHTTP = FOUR_CHAR_CODE('http'), /* RFC 2068 */
  803. eurlHTTPS = FOUR_CHAR_CODE('htps'),
  804. eurlFTP = FOUR_CHAR_CODE('ftp '), /* RFC 1738 */
  805. eurlMail = FOUR_CHAR_CODE('mail'), /* RFC 2638 */
  806. eurlFile = FOUR_CHAR_CODE('file'), /* RFC 1738 */
  807. eurlGopher = FOUR_CHAR_CODE('gphr'), /* RFC 1738 */
  808. eurlTelnet = FOUR_CHAR_CODE('tlnt'), /* RFC 1738 */
  809. eurlNews = FOUR_CHAR_CODE('news'), /* RFC 1738 */
  810. eurlSNews = FOUR_CHAR_CODE('snws'),
  811. eurlNNTP = FOUR_CHAR_CODE('nntp'), /* RFC 1738 */
  812. eurlMessage = FOUR_CHAR_CODE('mess'),
  813. eurlMailbox = FOUR_CHAR_CODE('mbox'),
  814. eurlMulti = FOUR_CHAR_CODE('mult'),
  815. eurlLaunch = FOUR_CHAR_CODE('laun'),
  816. eurlAFP = FOUR_CHAR_CODE('afp '),
  817. eurlAT = FOUR_CHAR_CODE('at '),
  818. eurlEPPC = FOUR_CHAR_CODE('eppc'),
  819. eurlRTSP = FOUR_CHAR_CODE('rtsp'), /* RFC 2326 */
  820. eurlIMAP = FOUR_CHAR_CODE('imap'), /* RFC 2192 */
  821. eurlNFS = FOUR_CHAR_CODE('unfs'), /* RFC 2224 */
  822. eurlPOP = FOUR_CHAR_CODE('upop'), /* RFC 2384 */
  823. eurlLDAP = FOUR_CHAR_CODE('uldp'), /* RFC 2255 */
  824. eurlUnknown = FOUR_CHAR_CODE('url?')
  825. };
  826. enum {
  827. /* AppleScript 1.3: Connectivity Suite in aeut */
  828. kConnSuite = FOUR_CHAR_CODE('macc'),
  829. cDevSpec = FOUR_CHAR_CODE('cdev'),
  830. cAddressSpec = FOUR_CHAR_CODE('cadr'),
  831. cADBAddress = FOUR_CHAR_CODE('cadb'),
  832. cAppleTalkAddress = FOUR_CHAR_CODE('cat '),
  833. cBusAddress = FOUR_CHAR_CODE('cbus'),
  834. cEthernetAddress = FOUR_CHAR_CODE('cen '),
  835. cFireWireAddress = FOUR_CHAR_CODE('cfw '),
  836. cIPAddress = FOUR_CHAR_CODE('cip '),
  837. cLocalTalkAddress = FOUR_CHAR_CODE('clt '),
  838. cSCSIAddress = FOUR_CHAR_CODE('cscs'),
  839. cTokenRingAddress = FOUR_CHAR_CODE('ctok'),
  840. cUSBAddress = FOUR_CHAR_CODE('cusb'), /* */
  841. /* Properties */
  842. pDeviceType = FOUR_CHAR_CODE('pdvt'),
  843. pDeviceAddress = FOUR_CHAR_CODE('pdva'),
  844. pConduit = FOUR_CHAR_CODE('pcon'),
  845. pProtocol = FOUR_CHAR_CODE('pprt'), /* cde 4/27/98 was 'ppro' conflicted with DB suite */
  846. pATMachine = FOUR_CHAR_CODE('patm'),
  847. pATZone = FOUR_CHAR_CODE('patz'),
  848. pATType = FOUR_CHAR_CODE('patt'),
  849. pDottedDecimal = FOUR_CHAR_CODE('pipd'),
  850. pDNS = FOUR_CHAR_CODE('pdns'),
  851. pPort = FOUR_CHAR_CODE('ppor'),
  852. pNetwork = FOUR_CHAR_CODE('pnet'),
  853. pNode = FOUR_CHAR_CODE('pnod'),
  854. pSocket = FOUR_CHAR_CODE('psoc'),
  855. pSCSIBus = FOUR_CHAR_CODE('pscb'),
  856. pSCSILUN = FOUR_CHAR_CODE('pslu'), /* cde 5/22/98 per WWDC developer request */
  857. /* Enumerations and enumerators */
  858. eDeviceType = FOUR_CHAR_CODE('edvt'),
  859. eAddressSpec = FOUR_CHAR_CODE('eads'),
  860. eConduit = FOUR_CHAR_CODE('econ'),
  861. eProtocol = FOUR_CHAR_CODE('epro'),
  862. eADB = FOUR_CHAR_CODE('eadb'),
  863. eAnalogAudio = FOUR_CHAR_CODE('epau'),
  864. eAppleTalk = FOUR_CHAR_CODE('epat'),
  865. eAudioLineIn = FOUR_CHAR_CODE('ecai'),
  866. eAudioLineOut = FOUR_CHAR_CODE('ecal'), /* cde 4/24/98 changed from 'ecao' to not conflict */
  867. eAudioOut = FOUR_CHAR_CODE('ecao'),
  868. eBus = FOUR_CHAR_CODE('ebus'),
  869. eCDROM = FOUR_CHAR_CODE('ecd '),
  870. eCommSlot = FOUR_CHAR_CODE('eccm'),
  871. eDigitalAudio = FOUR_CHAR_CODE('epda'),
  872. eDisplay = FOUR_CHAR_CODE('edds'),
  873. eDVD = FOUR_CHAR_CODE('edvd'),
  874. eEthernet = FOUR_CHAR_CODE('ecen'),
  875. eFireWire = FOUR_CHAR_CODE('ecfw'),
  876. eFloppy = FOUR_CHAR_CODE('efd '),
  877. eHD = FOUR_CHAR_CODE('ehd '),
  878. eInfrared = FOUR_CHAR_CODE('ecir'),
  879. eIP = FOUR_CHAR_CODE('epip'),
  880. eIrDA = FOUR_CHAR_CODE('epir'),
  881. eIRTalk = FOUR_CHAR_CODE('epit'),
  882. eKeyboard = FOUR_CHAR_CODE('ekbd'),
  883. eLCD = FOUR_CHAR_CODE('edlc'),
  884. eLocalTalk = FOUR_CHAR_CODE('eclt'),
  885. eMacIP = FOUR_CHAR_CODE('epmi'),
  886. eMacVideo = FOUR_CHAR_CODE('epmv'),
  887. eMicrophone = FOUR_CHAR_CODE('ecmi'),
  888. eModemPort = FOUR_CHAR_CODE('ecmp'),
  889. eModemPrinterPort = FOUR_CHAR_CODE('empp'),
  890. eModem = FOUR_CHAR_CODE('edmm'),
  891. eMonitorOut = FOUR_CHAR_CODE('ecmn'),
  892. eMouse = FOUR_CHAR_CODE('emou'),
  893. eNuBusCard = FOUR_CHAR_CODE('ednb'),
  894. eNuBus = FOUR_CHAR_CODE('enub'),
  895. ePCcard = FOUR_CHAR_CODE('ecpc'),
  896. ePCIbus = FOUR_CHAR_CODE('ecpi'),
  897. ePCIcard = FOUR_CHAR_CODE('edpi'),
  898. ePDSslot = FOUR_CHAR_CODE('ecpd'),
  899. ePDScard = FOUR_CHAR_CODE('epds'),
  900. ePointingDevice = FOUR_CHAR_CODE('edpd'),
  901. ePostScript = FOUR_CHAR_CODE('epps'),
  902. ePPP = FOUR_CHAR_CODE('eppp'),
  903. ePrinterPort = FOUR_CHAR_CODE('ecpp'),
  904. ePrinter = FOUR_CHAR_CODE('edpr'),
  905. eSvideo = FOUR_CHAR_CODE('epsv'),
  906. eSCSI = FOUR_CHAR_CODE('ecsc'),
  907. eSerial = FOUR_CHAR_CODE('epsr'),
  908. eSpeakers = FOUR_CHAR_CODE('edsp'),
  909. eStorageDevice = FOUR_CHAR_CODE('edst'),
  910. eSVGA = FOUR_CHAR_CODE('epsg'),
  911. eTokenRing = FOUR_CHAR_CODE('etok'),
  912. eTrackball = FOUR_CHAR_CODE('etrk'),
  913. eTrackpad = FOUR_CHAR_CODE('edtp'),
  914. eUSB = FOUR_CHAR_CODE('ecus'),
  915. eVideoIn = FOUR_CHAR_CODE('ecvi'),
  916. eVideoMonitor = FOUR_CHAR_CODE('edvm'),
  917. eVideoOut = FOUR_CHAR_CODE('ecvo')
  918. };
  919. enum {
  920. /* AppleScript 1.3: Keystroke class */
  921. cKeystroke = FOUR_CHAR_CODE('kprs'),
  922. pKeystrokeKey = FOUR_CHAR_CODE('kMsg'),
  923. pModifiers = FOUR_CHAR_CODE('kMod'),
  924. pKeyKind = FOUR_CHAR_CODE('kknd'),
  925. eModifiers = FOUR_CHAR_CODE('eMds'),
  926. eOptionDown = FOUR_CHAR_CODE('Kopt'),
  927. eCommandDown = FOUR_CHAR_CODE('Kcmd'),
  928. eControlDown = FOUR_CHAR_CODE('Kctl'),
  929. eShiftDown = FOUR_CHAR_CODE('Ksft'),
  930. eCapsLockDown = FOUR_CHAR_CODE('Kclk'),
  931. eKeyKind = FOUR_CHAR_CODE('ekst'), /* */
  932. /* Special keys all start with 'ks' */
  933. eEscapeKey = 0x6B733500, /* Third byte is virtual key code byte */
  934. eDeleteKey = 0x6B733300, /* (see IM Mac Toolbox Essentials, pp. 2-43) */
  935. eTabKey = 0x6B733000,
  936. eReturnKey = 0x6B732400,
  937. eClearKey = 0x6B734700,
  938. eEnterKey = 0x6B734C00,
  939. eUpArrowKey = 0x6B737E00,
  940. eDownArrowKey = 0x6B737D00,
  941. eLeftArrowKey = 0x6B737B00,
  942. eRightArrowKey = 0x6B737C00,
  943. eHelpKey = 0x6B737200,
  944. eHomeKey = 0x6B737300,
  945. ePageUpKey = 0x6B737400,
  946. ePageDownKey = 0x6B737900,
  947. eForwardDelKey = 0x6B737500,
  948. eEndKey = 0x6B737700,
  949. eF1Key = 0x6B737A00,
  950. eF2Key = 0x6B737800,
  951. eF3Key = 0x6B736300,
  952. eF4Key = 0x6B737600,
  953. eF5Key = 0x6B736000,
  954. eF6Key = 0x6B736100,
  955. eF7Key = 0x6B736200,
  956. eF8Key = 0x6B736400,
  957. eF9Key = 0x6B736500,
  958. eF10Key = 0x6B736D00,
  959. eF11Key = 0x6B736700,
  960. eF12Key = 0x6B736F00,
  961. eF13Key = 0x6B736900,
  962. eF14Key = 0x6B736B00,
  963. eF15Key = 0x6B737100
  964. };
  965. #if PRAGMA_STRUCT_ALIGN
  966. #pragma options align=reset
  967. #elif PRAGMA_STRUCT_PACKPUSH
  968. #pragma pack(pop)
  969. #elif PRAGMA_STRUCT_PACK
  970. #pragma pack()
  971. #endif
  972. #ifdef PRAGMA_IMPORT_OFF
  973. #pragma import off
  974. #elif PRAGMA_IMPORT
  975. #pragma import reset
  976. #endif
  977. #endif /* __AEREGISTRY__ */