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