Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSMetadataItem.d @ 1:8b48be5454ce
The internal cocoa classes compile now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 19 Aug 2008 17:35:17 +0200 |
parents | 380af2bdd8e5 |
children | f565d3a95c0a |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSMetadataItem.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSMetadataItem.d Tue Aug 19 17:35:17 2008 +0200 @@ -36,19 +36,19 @@ public NSArray attributes () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_attributes); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_attributes); return result !is null ? new NSArray(result) : null; } public id valueForAttribute (NSString key) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_valueForAttribute_1, key !is null ? key.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueForAttribute_1, key !is null ? key.id_ : null); return result !is null ? new id(result) : null; } public NSDictionary valuesForAttributes (NSArray keys) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_valuesForAttributes_1, keys !is null ? keys.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_valuesForAttributes_1, keys !is null ? keys.id_ : null); return result !is null ? new NSDictionary(result) : null; }