Mac OS 9
AEPackObject.h
Go to the documentation of this file.
1 
19 #ifndef __AEPACKOBJECT__
20 #define __AEPACKOBJECT__
21 
22 #ifndef __APPLEEVENTS__
23 #include <AppleEvents.h>
24 #endif
25 
26 #if PRAGMA_ONCE
27 #pragma once
28 #endif
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
35 #if PRAGMA_IMPORT
36 #pragma import on
37 #endif
38 
39 #if PRAGMA_STRUCT_ALIGN
40 #pragma options align = mac68k
41 #elif PRAGMA_STRUCT_PACKPUSH
42 #pragma pack(push, 2)
43 #elif PRAGMA_STRUCT_PACK
44 #pragma pack(2)
45 #endif
46 
56  OSErr
57  CreateOffsetDescriptor(long theOffset, AEDesc *theDescriptor);
58 
67  OSErr
68  CreateCompDescriptor(DescType comparisonOperator, AEDesc *operand1,
69  AEDesc *operand2, Boolean disposeInputs,
70  AEDesc *theDescriptor);
71 
80  OSErr
81  CreateLogicalDescriptor(AEDescList *theLogicalTerms, DescType theLogicOperator,
82  Boolean disposeInputs, AEDesc *theDescriptor);
83 
92  OSErr
93  CreateObjSpecifier(DescType desiredClass, AEDesc *theContainer,
94  DescType keyForm, AEDesc *keyData, Boolean disposeInputs,
95  AEDesc *objSpecifier);
96 
105  OSErr
106  CreateRangeDescriptor(AEDesc *rangeStart, AEDesc *rangeStop,
107  Boolean disposeInputs, AEDesc *theDescriptor);
108 
109 #if PRAGMA_STRUCT_ALIGN
110 #pragma options align = reset
111 #elif PRAGMA_STRUCT_PACKPUSH
112 #pragma pack(pop)
113 #elif PRAGMA_STRUCT_PACK
114 #pragma pack()
115 #endif
116 
117 #ifdef PRAGMA_IMPORT_OFF
118 #pragma import off
119 #elif PRAGMA_IMPORT
120 #pragma import reset
121 #endif
122 
123 #ifdef __cplusplus
124 }
125 #endif
126 
127 #endif
ResType DescType
Definition: AEDataModel.h:165
OSErr CreateOffsetDescriptor(long theOffset, AEDesc *theDescriptor)
OSErr CreateLogicalDescriptor(AEDescList *theLogicalTerms, DescType theLogicOperator, Boolean disposeInputs, AEDesc *theDescriptor)
OSErr CreateObjSpecifier(DescType desiredClass, AEDesc *theContainer, DescType keyForm, AEDesc *keyData, Boolean disposeInputs, AEDesc *objSpecifier)
OSErr CreateCompDescriptor(DescType comparisonOperator, AEDesc *operand1, AEDesc *operand2, Boolean disposeInputs, AEDesc *theDescriptor)
OSErr CreateRangeDescriptor(AEDesc *rangeStart, AEDesc *rangeStop, Boolean disposeInputs, AEDesc *theDescriptor)
AppleEvent Package Interfaces.
unsigned char Boolean
Definition: MacTypes.h:318
Definition: AEDataModel.h:175