comparison dwt/internal/objc/foundation/NSHFSFileTypes.d @ 15:2952d5604c0a

Ported some widgets, added some stuff to the runtime bindings
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 29 Aug 2008 21:46:05 +0200
parents 380af2bdd8e5
children db5a898b2119
comparison
equal deleted inserted replaced
14:762fbe6f17d3 15:2952d5604c0a
5 * License: $(LINK2 http://opensource.org/licenses/bsd-license.php, BSD Style) 5 * License: $(LINK2 http://opensource.org/licenses/bsd-license.php, BSD Style)
6 * 6 *
7 */ 7 */
8 module dwt.internal.objc.foundation.NSHFSFileTypes; 8 module dwt.internal.objc.foundation.NSHFSFileTypes;
9 9
10 import bindings = dwt.internal.objc.foundation.bindings : NSFileTypeForHFSTypeCode; 10 import bindings = dwt.internal.objc.foundation.bindings;
11 11
12 template NSHFSFileTypes () 12 NSString NSFileTypeForHFSTypeCode (uint hfsFileTypeCode)
13 { 13 {
14 alias bindings.NSFileTypeForHFSTypeCode NSFileTypeForHFSTypeCode; 14 return new NSString(bindings.NSFileTypeForHFSTypeCode(hfsFileTypeCode));
15 } 15 }