Mercurial > projects > dstep
comparison dstep/foundation/NSFileManager.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 |
---|---|
447 } | 447 } |
448 `; | 448 `; |
449 | 449 |
450 class NSFileManager : NSObject | 450 class NSFileManager : NSObject |
451 { | 451 { |
452 mixin (ObjcWrap); | 452 mixin ObjcWrap; |
453 | |
454 this (id object) | |
455 { | |
456 super(object); | |
457 } | |
453 | 458 |
454 this () | 459 this () |
455 { | 460 { |
456 super(typeof(this).alloc.init.objcObject); | 461 super(typeof(this).alloc.init.objcObject); |
457 } | 462 } |
797 } | 802 } |
798 } | 803 } |
799 | 804 |
800 class NSDirectoryEnumerator : NSEnumerator | 805 class NSDirectoryEnumerator : NSEnumerator |
801 { | 806 { |
802 mixin (ObjcWrap); | 807 mixin ObjcWrap; |
808 | |
809 this (id object) | |
810 { | |
811 super(object); | |
812 } | |
803 | 813 |
804 this () | 814 this () |
805 { | 815 { |
806 super(typeof(this).alloc.init.objcObject); | 816 super(typeof(this).alloc.init.objcObject); |
807 } | 817 } |