Mercurial > projects > dwt-mac
annotate dwt/internal/objc/cocoa/bindings.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | 2e671fa40eec |
children |
rev | line source |
---|---|
45 | 1 /** |
2 * Copyright: Copyright (c) 2008 Jacob Carlborg. All rights reserved. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Nov 18, 2008 | |
5 * License: $(LINK2 http://opensource.org/licenses/bsd-license.php, BSD Style) | |
6 * | |
7 */ | |
8 module dwt.internal.objc.cocoa.bindings; | |
9 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
52
diff
changeset
|
10 import tango.stdc.config; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
52
diff
changeset
|
11 |
45 | 12 import dwt.internal.c.Carbon; |
13 import dwt.internal.cocoa.NSRect; | |
14 import dwt.internal.objc.cocoa.Cocoa; | |
15 import dwt.internal.objc.runtime; | |
16 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
52
diff
changeset
|
17 alias c_long NSInteger; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
52
diff
changeset
|
18 alias c_ulong NSUInteger; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
52
diff
changeset
|
19 |
45 | 20 extern (C): |
21 | |
22 //NSAccessibility.h | |
23 id NSAccessibilityActionDescription (id action); | |
24 void NSAccessibilityPostNotification (id element, id notification); | |
25 void NSAccessibilityRaiseBadArgumentException (id element, id attribute, id value); | |
26 id NSAccessibilityRoleDescription (id role, id subrole); | |
27 id NSAccessibilityRoleDescriptionForUIElement (id element); | |
28 id NSAccessibilityUnignoredAncestor (id element); | |
29 id NSAccessibilityUnignoredChildren (id originalChildren); | |
30 id NSAccessibilityUnignoredChildrenForOnlyChild (id originalChild); | |
31 id NSAccessibilityUnignoredDescendant (id element); | |
32 | |
33 //NSGraphics.h | |
34 void NSBeep (); | |
35 NSInteger NSBitsPerPixelFromDepth (NSWindowDepth depth); | |
36 | |
37 | |
38 | |
39 // NSGeometry.h | |
40 NSRect NSIntersectionRect (NSRect aRect, NSRect bRect); | |
41 | |
42 | |
43 | |
44 // NSHFSFileTypes.h | |
45 id NSFileTypeForHFSTypeCode (OSType hfsFileTypeCode); | |
46 | |
47 | |
48 | |
49 // NSObjCRuntime.h | |
50 /*const*/ char * NSGetSizeAndAlignment (/*const*/ char* typePtr, NSUInteger* sizep, NSUInteger* alignp); | |
51 | |
52 | |
53 | |
54 // NSPathUtilities.h | |
123 | 55 id NSSearchPathForDirectoriesInDomains (NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask,BOOL expandTilde); |
45 | 56 id NSTemporaryDirectory (); |