Mercurial > projects > dstep
comparison dstep/coreservices/ae/AEUserTermTypes.d @ 11:07194b026fa4
Added bindings to a couple of frameworks, new license + some other things
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sat, 01 Aug 2009 15:03:28 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:27e00625790b | 11:07194b026fa4 |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Jul 21, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.coreservices.ae.AEUserTermTypes; | |
8 | |
9 //import dstep.AvailabilityMacros; | |
10 import dstep.coreservices.carboncore.CarbonCore; | |
11 import dstep.objc.bridge.TypeEncoding; | |
12 | |
13 | |
14 // This is needed otherwise the enums will fail compiling with gdc | |
15 version (GNU) | |
16 { | |
17 private | |
18 { | |
19 const __kAEUserTerminology = getOSType!("aeut"); | |
20 const __kAETerminologyExtension = getOSType!("aete"); | |
21 const __kAEScriptingSizeResource = getOSType!("scsz"); | |
22 const __kAEOSAXSizeResource = getOSType!("osiz"); | |
23 | |
24 } | |
25 } | |
26 | |
27 enum | |
28 { | |
29 kAEUserTerminology = getOSType!("aeut"), | |
30 kAETerminologyExtension = getOSType!("aete"), | |
31 kAEScriptingSizeResource = getOSType!("scsz"), | |
32 kAEOSAXSizeResource = getOSType!("osiz") | |
33 } | |
34 | |
35 enum | |
36 { | |
37 kAEUTHasReturningParam = 31, | |
38 kAEUTOptional = 15, | |
39 kAEUTlistOfItems = 14, | |
40 kAEUTEnumerated = 13, | |
41 kAEUTReadWrite = 12, | |
42 kAEUTChangesState = 12, | |
43 kAEUTTightBindingFunction = 12, | |
44 kAEUTEnumsAreTypes = 11, | |
45 kAEUTEnumListIsExclusive = 10, | |
46 kAEUTReplyIsReference = 9, | |
47 kAEUTDirectParamIsReference = 9, | |
48 kAEUTParamIsReference = 9, | |
49 kAEUTPropertyIsReference = 9, | |
50 kAEUTNotDirectParamIsTarget = 8, | |
51 kAEUTParamIsTarget = 8, | |
52 kAEUTApostrophe = 3, | |
53 kAEUTFeminine = 2, | |
54 kAEUTMasculine = 1, | |
55 kAEUTPlural = 0 | |
56 } | |
57 | |
58 enum | |
59 { | |
60 kLaunchToGetTerminology = (1 << 15), | |
61 kDontFindAppBySignature = (1 << 14), | |
62 kAlwaysSendSubject = (1 << 13) | |
63 } | |
64 | |
65 enum | |
66 { | |
67 kReadExtensionTermsMask = (1 << 15) | |
68 } | |
69 | |
70 enum | |
71 { | |
72 kOSIZDontOpenResourceFile = 15, | |
73 kOSIZdontAcceptRemoteEvents = 14, | |
74 kOSIZOpenWithReadPermission = 13, | |
75 kOSIZCodeInSharedLibraries = 11 | |
76 } | |
77 | |
78 struct TScriptingSizeResource | |
79 { | |
80 short scriptingSizeFlags; | |
81 uint minStackSize; | |
82 uint preferredStackSize; | |
83 uint maxStackSize; | |
84 uint minHeapSize; | |
85 uint preferredHeapSize; | |
86 uint maxHeapSize; | |
87 } | |
88 |