Mercurial > projects > dstep
comparison dstep/appkit/NSGlyphInfo.d @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 19885b43130e |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
27 NSAdobeKorea1CharacterCollection = 5 | 27 NSAdobeKorea1CharacterCollection = 5 |
28 } | 28 } |
29 | 29 |
30 class NSGlyphInfo : NSObject, INSCopying, INSCoding | 30 class NSGlyphInfo : NSObject, INSCopying, INSCoding |
31 { | 31 { |
32 mixin (ObjcWrap); | 32 mixin ObjcWrap; |
33 | |
34 this (id object) | |
35 { | |
36 super(object); | |
37 } | |
33 | 38 |
34 this (NSCoder aDecoder) | 39 this (NSCoder aDecoder) |
35 { | 40 { |
36 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); | 41 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); |
37 } | 42 } |