Mercurial > projects > dstep
diff dstep/foundation/NSError_bindings.d @ 14:89f3c3ef1fd2
Added the Foundation framework
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 15:23:15 +0200 |
parents | |
children | 19885b43130e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dstep/foundation/NSError_bindings.d Mon Aug 03 15:23:15 2009 +0200 @@ -0,0 +1,29 @@ +module dstep.foundation.NSError_bindings; + +import dstep.foundation.NSArray; +import dstep.foundation.NSDictionary; +import dstep.foundation.NSObject; +import dstep.objc.bridge.Bridge; +import dstep.objc.objc : id; + + +extern (C) +{ + extern + { + package const id NSCocoaErrorDomain; + package const id NSPOSIXErrorDomain; + package const id NSOSStatusErrorDomain; + package const id NSMachErrorDomain; + package const id NSUnderlyingErrorKey; + package const id NSLocalizedDescriptionKey; + package const id NSLocalizedFailureReasonErrorKey; + package const id NSLocalizedRecoverySuggestionErrorKey; + package const id NSLocalizedRecoveryOptionsErrorKey; + package const id NSRecoveryAttempterErrorKey; + package const id NSStringEncodingErrorKey; + package const id NSURLErrorKey; + package const id NSFilePathErrorKey; + } +} +