Code Search for Developers
 
 
  

AEUserTermTypes.h from guliverkli at Krugle


Show AEUserTermTypes.h syntax highlighted

/*
     File:       AEUserTermTypes.h
 
     Contains:   AppleEvents AEUT resource format Interfaces.
 
     Version:    Technology: System 7.5
                 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 __AEUSERTERMTYPES__
#define __AEUSERTERMTYPES__

#ifndef __CONDITIONALMACROS__
#include "ConditionalMacros.h"
#endif

#ifndef __MACTYPES__
#include "MacTypes.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 {
    kAEUserTerminology          = FOUR_CHAR_CODE('aeut'),       /*  0x61657574  */
    kAETerminologyExtension     = FOUR_CHAR_CODE('aete'),       /*  0x61657465  */
    kAEScriptingSizeResource    = FOUR_CHAR_CODE('scsz'),       /*  0x7363737a  */
    kAEOSAXSizeResource         = FOUR_CHAR_CODE('osiz')
};

enum {
    kAEUTHasReturningParam      = 31,                           /* if event has a keyASReturning param */
    kAEUTOptional               = 15,                           /* if something is optional */
    kAEUTlistOfItems            = 14,                           /* if property or reply is a list. */
    kAEUTEnumerated             = 13,                           /* if property or reply is of an enumerated type. */
    kAEUTReadWrite              = 12,                           /* if property is writable. */
    kAEUTChangesState           = 12,                           /* if an event changes state. */
    kAEUTTightBindingFunction   = 12,                           /* if this is a tight-binding precedence function. */
                                                                /* AppleScript 1.3: new bits for reply, direct parameter, parameter, and property flags */
    kAEUTEnumsAreTypes          = 11,                           /* if the enumeration is a list of types, not constants */
    kAEUTEnumListIsExclusive    = 10,                           /* if the list of enumerations is a proper set */
    kAEUTReplyIsReference       = 9,                            /* if the reply is a reference, not a value */
    kAEUTDirectParamIsReference = 9,                            /* if the direct parameter is a reference, not a value */
    kAEUTParamIsReference       = 9,                            /* if the parameter is a reference, not a value */
    kAEUTPropertyIsReference    = 9,                            /* if the property is a reference, not a value */
    kAEUTNotDirectParamIsTarget = 8,                            /* if the direct parameter is not the target of the event */
    kAEUTParamIsTarget          = 8,                            /* if the parameter is the target of the event */
    kAEUTApostrophe             = 3,                            /* if a term contains an apostrophe. */
    kAEUTFeminine               = 2,                            /* if a term is feminine gender. */
    kAEUTMasculine              = 1,                            /* if a term is masculine gender. */
    kAEUTPlural                 = 0                             /* if a term is plural. */
};


struct TScriptingSizeResource {
    short                           scriptingSizeFlags;
    unsigned long                   minStackSize;
    unsigned long                   preferredStackSize;
    unsigned long                   maxStackSize;
    unsigned long                   minHeapSize;
    unsigned long                   preferredHeapSize;
    unsigned long                   maxHeapSize;
};
typedef struct TScriptingSizeResource   TScriptingSizeResource;
enum {
    kLaunchToGetTerminology     = (1 << 15),                    /*    If kLaunchToGetTerminology is 0, 'aete' is read directly from res file.  If set to 1, then launch and use 'gdut' to get terminology. */
    kDontFindAppBySignature     = (1 << 14),                    /*    If kDontFindAppBySignature is 0, then find app with signature if lost.  If 1, then don't */
    kAlwaysSendSubject          = (1 << 13)                     /*    If kAlwaysSendSubject 0, then send subject when appropriate. If 1, then every event has Subject Attribute */
};

/* old names for above bits. */
enum {
    kReadExtensionTermsMask     = (1 << 15)
};

enum {
                                                                /* AppleScript 1.3: Bit positions for osiz resource */
                                                                /* AppleScript 1.3: Bit masks for osiz resources */
    kOSIZDontOpenResourceFile   = 15,                           /* If set, resource file is not opened when osax is loaded */
    kOSIZdontAcceptRemoteEvents = 14,                           /* If set, handler will not be called with events from remote machines */
    kOSIZOpenWithReadPermission = 13,                           /* If set, file will be opened with read permission only */
    kOSIZCodeInSharedLibraries  = 11                            /* If set, loader will look for handler in shared library, not osax resources */
};


#if PRAGMA_STRUCT_ALIGN
    #pragma options align=reset
#elif PRAGMA_STRUCT_PACKPUSH
    #pragma pack(pop)
#elif PRAGMA_STRUCT_PACK
    #pragma pack()
#endif

#ifdef PRAGMA_IMPORT_OFF
#pragma import off
#elif PRAGMA_IMPORT
#pragma import reset
#endif

#ifdef __cplusplus
}
#endif

#endif /* __AEUSERTERMTYPES__ */





See more files for this project here

guliverkli

Home of VobSub, Media Player Classic (MPC) and other misc utils.

Project homepage: http://sourceforge.net/projects/guliverkli
Programming language(s): C,C++,PHP
License: other

  ADSP.h
  ADSPSecure.h
  AEDataModel.h
  AEObjects.h
  AEPackObject.h
  AERegistry.h
  AEUserTermTypes.h
  AGP.h
  AIFF.h
  ASDebugging.h
  ASRegistry.h
  ATA.h
  ATSLayoutTypes.h
  ATSTypes.h
  ATSUnicode.h
  AVComponents.h
  AVLTree.h
  Aliases.h
  Appearance.h
  AppleEvents.h
  AppleGuide.h
  AppleScript.h
  AppleTalk.h
  Balloons.h
  CFArray.h
  CFBag.h
  CFBase.h
  CFBundle.h
  CFCharacterSet.h
  CFData.h
  CFDate.h
  CFDictionary.h
  CFNumber.h
  CFPlugIn.h
  CFPreferences.h
  CFPropertyList.h
  CFSet.h
  CFString.h
  CFStringEncodingExt.h
  CFTimeZone.h
  CFURL.h
  CFURLAccess.h
  CMAcceleration.h
  CMApplication.h
  CMCalibrator.h
  CMComponent.h
  CMConversions.h
  CMICCProfile.h
  CMMComponent.h
  CMPRComponent.h
  CMScriptingPlugin.h
  CRMSerialDevices.h
  CTBUtilities.h
  CarbonEvents.h
  CardServices.h
  CodeFragments.h
  Collections.h
  ColorPicker.h
  ColorPickerComponents.h
  CommResources.h
  Components.h
  ConditionalMacros.h
  ConnectionTools.h
  Connections.h
  ControlDefinitions.h
  ControlStrip.h
  Controls.h
  CoreFoundation.h
  CryptoMessageSyntax.h
  CursorDevices.h
  DatabaseAccess.h
  DateTimeUtils.h
  Debugging.h
  DeskBus.h
  DeviceControl.h
  Devices.h
  Dialogs.h
  Dictionary.h
  DigitalSignature.h
  DiskInit.h
  Disks.h
  Displays.h
  Drag.h
  DrawSprocket.h
  DriverFamilyMatching.h
  DriverGestalt.h
  DriverServices.h
  DriverSupport.h
  DriverSynchronization.h
  ENET.h
  EPPC.h
  Editions.h
  Endian.h
  Events.h
  FSM.h
  FileSigning.h
  FileTransferTools.h
  FileTransfers.h
  FileTypesAndCreators.h
  Files.h