comparison dstep/foundation/NSURLRequest.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
103 } 103 }
104 `; 104 `;
105 105
106 class NSURLRequest : NSObject, INSCoding, INSCopying, INSMutableCopying 106 class NSURLRequest : NSObject, INSCoding, INSCopying, INSMutableCopying
107 { 107 {
108 mixin (ObjcWrap); 108 mixin ObjcWrap;
109
110 this (id object)
111 {
112 super(object);
113 }
109 114
110 this () 115 this ()
111 { 116 {
112 super(typeof(this).alloc.init.objcObject); 117 super(typeof(this).alloc.init.objcObject);
113 } 118 }
224 } 229 }
225 } 230 }
226 231
227 class NSMutableURLRequest : NSURLRequest 232 class NSMutableURLRequest : NSURLRequest
228 { 233 {
229 mixin (ObjcWrap); 234 mixin ObjcWrap;
235
236 this (id object)
237 {
238 super(object);
239 }
230 240
231 this () 241 this ()
232 { 242 {
233 super(typeof(this).alloc.init.objcObject); 243 super(typeof(this).alloc.init.objcObject);
234 } 244 }