Mercurial > projects > dwt-mac
diff dwt/internal/objc/cocoa/bindings.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | |
children | 858e9a565d62 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/objc/cocoa/bindings.d Mon Dec 01 17:07:00 2008 +0100 @@ -0,0 +1,52 @@ +/** + * Copyright: Copyright (c) 2008 Jacob Carlborg. All rights reserved. + * Authors: Jacob Carlborg + * Version: Initial created: Nov 18, 2008 + * License: $(LINK2 http://opensource.org/licenses/bsd-license.php, BSD Style) + * + */ +module dwt.internal.objc.cocoa.bindings; + +import dwt.internal.c.Carbon; +import dwt.internal.cocoa.NSInteger; +import dwt.internal.cocoa.NSRect; +import dwt.internal.objc.cocoa.Cocoa; +import dwt.internal.objc.runtime; + +extern (C): + +//NSAccessibility.h +id NSAccessibilityActionDescription (id action); +void NSAccessibilityPostNotification (id element, id notification); +void NSAccessibilityRaiseBadArgumentException (id element, id attribute, id value); +id NSAccessibilityRoleDescription (id role, id subrole); +id NSAccessibilityRoleDescriptionForUIElement (id element); +id NSAccessibilityUnignoredAncestor (id element); +id NSAccessibilityUnignoredChildren (id originalChildren); +id NSAccessibilityUnignoredChildrenForOnlyChild (id originalChild); +id NSAccessibilityUnignoredDescendant (id element); + +//NSGraphics.h +void NSBeep (); +NSInteger NSBitsPerPixelFromDepth (NSWindowDepth depth); + + + +// NSGeometry.h +NSRect NSIntersectionRect (NSRect aRect, NSRect bRect); + + + +// NSHFSFileTypes.h +id NSFileTypeForHFSTypeCode (OSType hfsFileTypeCode); + + + +// NSObjCRuntime.h +/*const*/ char * NSGetSizeAndAlignment (/*const*/ char* typePtr, NSUInteger* sizep, NSUInteger* alignp); + + + +// NSPathUtilities.h +id NSSearchPathForDirectoriesInDomains (NSSearchPathDirectory directory,NSSearchPathDomainMask domainMask,BOOL expandTilde); +id NSTemporaryDirectory (); \ No newline at end of file