Mac OS 9
OSAComp.h
Go to the documentation of this file.
1 
19 #ifndef __OSACOMP__
20 #define __OSACOMP__
21 
22 #ifndef __MACTYPES__
23 #include <MacTypes.h>
24 #endif
25 
26 #ifndef __AEDATAMODEL__
27 #include <AEDataModel.h>
28 #endif
29 
30 #if PRAGMA_ONCE
31 #pragma once
32 #endif
33 
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38 
39 #if PRAGMA_IMPORT
40 #pragma import on
41 #endif
42 
43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
46 #pragma pack(push, 2)
47 #elif PRAGMA_STRUCT_PACK
48 #pragma pack(2)
49 #endif
50 
51  /**************************************************************************
52  Types and Constants
53  **************************************************************************/
54  /**************************************************************************
55  Routines for Associating a Storage Type with a Script Data Handle
56  **************************************************************************/
65  OSErr
66  OSAGetStorageType(AEDataStorage scriptData, DescType *dscType);
67 
76  OSErr
78 
87  OSErr
89 
90 #if PRAGMA_STRUCT_ALIGN
91 #pragma options align = reset
92 #elif PRAGMA_STRUCT_PACKPUSH
93 #pragma pack(pop)
94 #elif PRAGMA_STRUCT_PACK
95 #pragma pack()
96 #endif
97 
98 #ifdef PRAGMA_IMPORT_OFF
99 #pragma import off
100 #elif PRAGMA_IMPORT
101 #pragma import reset
102 #endif
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif /* __OSACOMP__ */
AppleEvent Data Model Interfaces.
ResType DescType
Definition: AEDataModel.h:165
AEDataStorageType * AEDataStorage
Definition: AEDataModel.h:173
Basic Macintosh data types.
OSErr OSAGetStorageType(AEDataStorage scriptData, DescType *dscType)
OSErr OSARemoveStorageType(AEDataStorage scriptData)
OSErr OSAAddStorageType(AEDataStorage scriptData, DescType dscType)