Mercurial > projects > dstep
comparison dstep/foundation/NSMetadata.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 |
---|---|
112 //mixin ObjcBindMethod!(metadataQuery, "metadataQuery:replacementValueForAttribute:value:"); | 112 //mixin ObjcBindMethod!(metadataQuery, "metadataQuery:replacementValueForAttribute:value:"); |
113 `; | 113 `; |
114 | 114 |
115 class NSMetadataQueryResultGroup : NSObject | 115 class NSMetadataQueryResultGroup : NSObject |
116 { | 116 { |
117 mixin (ObjcWrap); | 117 mixin ObjcWrap; |
118 | |
119 this (id object) | |
120 { | |
121 super(object); | |
122 } | |
118 | 123 |
119 this () | 124 this () |
120 { | 125 { |
121 super(typeof(this).alloc.init.objcObject); | 126 super(typeof(this).alloc.init.objcObject); |
122 } | 127 } |
157 } | 162 } |
158 } | 163 } |
159 | 164 |
160 class NSMetadataItem : NSObject | 165 class NSMetadataItem : NSObject |
161 { | 166 { |
162 mixin (ObjcWrap); | 167 mixin ObjcWrap; |
168 | |
169 this (id object) | |
170 { | |
171 super(object); | |
172 } | |
163 | 173 |
164 this () | 174 this () |
165 { | 175 { |
166 super(typeof(this).alloc.init.objcObject); | 176 super(typeof(this).alloc.init.objcObject); |
167 } | 177 } |
187 } | 197 } |
188 } | 198 } |
189 | 199 |
190 class NSMetadataQuery : NSObject | 200 class NSMetadataQuery : NSObject |
191 { | 201 { |
192 mixin (ObjcWrap); | 202 mixin ObjcWrap; |
203 | |
204 this (id object) | |
205 { | |
206 super(object); | |
207 } | |
193 | 208 |
194 this () | 209 this () |
195 { | 210 { |
196 super(typeof(this).alloc.init.objcObject); | 211 super(typeof(this).alloc.init.objcObject); |
197 } | 212 } |
342 } | 357 } |
343 } | 358 } |
344 | 359 |
345 class NSMetadataQueryAttributeValueTuple : NSObject | 360 class NSMetadataQueryAttributeValueTuple : NSObject |
346 { | 361 { |
347 mixin (ObjcWrap); | 362 mixin ObjcWrap; |
363 | |
364 this (id object) | |
365 { | |
366 super(object); | |
367 } | |
348 | 368 |
349 this () | 369 this () |
350 { | 370 { |
351 super(typeof(this).alloc.init.objcObject); | 371 super(typeof(this).alloc.init.objcObject); |
352 } | 372 } |