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
|
|
10 import dwt.internal.c.Carbon;
|
|
11 import dwt.internal.cocoa.NSRect;
|
|
12 import dwt.internal.objc.cocoa.Cocoa;
|
|
13 import dwt.internal.objc.runtime;
|
|
14
|
|
15 extern (C):
|
|
16
|
|
17 //NSAccessibility.h
|
|
18 id NSAccessibilityActionDescription (id action);
|
|
19 void NSAccessibilityPostNotification (id element, id notification);
|
|
20 void NSAccessibilityRaiseBadArgumentException (id element, id attribute, id value);
|
|
21 id NSAccessibilityRoleDescription (id role, id subrole);
|
|
22 id NSAccessibilityRoleDescriptionForUIElement (id element);
|
|
23 id NSAccessibilityUnignoredAncestor (id element);
|
|
24 id NSAccessibilityUnignoredChildren (id originalChildren);
|
|
25 id NSAccessibilityUnignoredChildrenForOnlyChild (id originalChild);
|
|
26 id NSAccessibilityUnignoredDescendant (id element);
|
|
27
|
|
28 //NSGraphics.h
|
|
29 void NSBeep ();
|
|
30 NSInteger NSBitsPerPixelFromDepth (NSWindowDepth depth);
|
|
31
|
|
32
|
|
33
|
|
34 // NSGeometry.h
|
|
35 NSRect NSIntersectionRect (NSRect aRect, NSRect bRect);
|
|
36
|
|
37
|
|
38
|
|
39 // NSHFSFileTypes.h
|
|
40 id NSFileTypeForHFSTypeCode (OSType hfsFileTypeCode);
|
|
41
|
|
42
|
|
43
|
|
44 // NSObjCRuntime.h
|
|
45 /*const*/ char * NSGetSizeAndAlignment (/*const*/ char* typePtr, NSUInteger* sizep, NSUInteger* alignp);
|
|
46
|
|
47
|
|
48
|
|
49 // NSPathUtilities.h
|
|
50 id NSSearchPathForDirectoriesInDomains (NSSearchPathDirectory directory,NSSearchPathDomainMask domainMask,BOOL expandTilde);
|
|
51 id NSTemporaryDirectory (); |