ASRegistry.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:20k
- /*
- File: ASRegistry.h
-
- Contains: AppleScript Registry constants.
-
- Version: Technology: AppleScript 1.3
- Release: QuickTime 6.0.2
-
- Copyright: (c) 1991-2001 by Apple Computer, Inc., all rights reserved
-
- Bugs?: For bug reports, consult the following page on
- the World Wide Web:
-
- http://developer.apple.com/bugreporter/
-
- */
- #ifndef __ASREGISTRY__
- #define __ASREGISTRY__
- #ifndef __AEREGISTRY__
- #include "AERegistry.h"
- #endif
- #ifndef __AEOBJECTS__
- #include "AEObjects.h"
- #endif
- #if PRAGMA_ONCE
- #pragma once
- #endif
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if PRAGMA_IMPORT
- #pragma import on
- #endif
- #if PRAGMA_STRUCT_ALIGN
- #pragma options align=mac68k
- #elif PRAGMA_STRUCT_PACKPUSH
- #pragma pack(push, 2)
- #elif PRAGMA_STRUCT_PACK
- #pragma pack(2)
- #endif
- enum {
- keyAETarget = FOUR_CHAR_CODE('targ'), /* 0x74617267 */
- keySubjectAttr = FOUR_CHAR_CODE('subj'), /* 0x7375626a */
- /* Magic 'returning' parameter: */
- keyASReturning = FOUR_CHAR_CODE('Krtn'), /* 0x4b72746e */
- /* AppleScript Specific Codes: */
- kASAppleScriptSuite = FOUR_CHAR_CODE('ascr'), /* 0x61736372 */
- kASScriptEditorSuite = FOUR_CHAR_CODE('ToyS'), /* AppleScript 1.3 added from private headers */
- kASTypeNamesSuite = FOUR_CHAR_CODE('tpnm'), /* 0x74706e6d */
- /* dynamic terminologies */
- typeAETE = FOUR_CHAR_CODE('aete'), /* 0x61657465 */
- typeAEUT = FOUR_CHAR_CODE('aeut'), /* 0x61657574 */
- kGetAETE = FOUR_CHAR_CODE('gdte'), /* 0x67647465 */
- kGetAEUT = FOUR_CHAR_CODE('gdut'), /* 0x67647574 */
- kUpdateAEUT = FOUR_CHAR_CODE('udut'), /* 0x75647574 */
- kUpdateAETE = FOUR_CHAR_CODE('udte'), /* 0x75647465 */
- kCleanUpAEUT = FOUR_CHAR_CODE('cdut'), /* 0x63647574 */
- kASComment = FOUR_CHAR_CODE('cmnt'), /* 0x636d6e74 */
- kASLaunchEvent = FOUR_CHAR_CODE('noop'), /* 0x6e6f6f70 */
- keyScszResource = FOUR_CHAR_CODE('scsz'), /* 0x7363737A */
- typeScszResource = FOUR_CHAR_CODE('scsz'), /* 0x7363737A */
- /* subroutine calls */
- kASSubroutineEvent = FOUR_CHAR_CODE('psbr'), /* 0x70736272 */
- keyASSubroutineName = FOUR_CHAR_CODE('snam'), /* 0x736e616d */
- kASPrepositionalSubroutine = FOUR_CHAR_CODE('psbr'), /* AppleScript 1.3 added from private headers */
- keyASPositionalArgs = FOUR_CHAR_CODE('parg') /* AppleScript 1.3 added from private headers */
- };
- enum {
- /* Miscellaneous AppleScript commands */
- kASStartLogEvent = FOUR_CHAR_CODE('log1'), /* AppleScript 1.3 Script Editor Start Log */
- kASStopLogEvent = FOUR_CHAR_CODE('log0'), /* AppleScript 1.3 Script Editor Stop Log */
- kASCommentEvent = FOUR_CHAR_CODE('cmnt') /* AppleScript 1.3 magic "comment" event */
- };
- /* Operator Events: */
- enum {
- /* Binary: */
- kASAdd = FOUR_CHAR_CODE('+ '), /* 0x2b202020 */
- kASSubtract = FOUR_CHAR_CODE('- '), /* 0x2d202020 */
- kASMultiply = FOUR_CHAR_CODE('* '), /* 0x2a202020 */
- kASDivide = FOUR_CHAR_CODE('/ '), /* 0x2f202020 */
- kASQuotient = FOUR_CHAR_CODE('div '), /* 0x64697620 */
- kASRemainder = FOUR_CHAR_CODE('mod '), /* 0x6d6f6420 */
- kASPower = FOUR_CHAR_CODE('^ '), /* 0x5e202020 */
- kASEqual = kAEEquals,
- kASNotEqual = FOUR_CHAR_CODE('