Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSCachedURLResponse.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/NSCachedURLResponse.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSCachedURLResponse.d Tue Aug 19 17:35:17 2008 +0200 @@ -35,39 +35,39 @@ public NSData data () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_data); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_data); return result !is null ? new NSData(result) : null; } public NSCachedURLResponse initWithResponse_data_ (NSURLResponse response, NSData data) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithResponse_1data_1, response !is null ? response.id : null, - data !is null ? data.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithResponse_1data_1, response !is null ? response.id_ : null, + data !is null ? data.id_ : null); return result !is null ? this : null; } public NSCachedURLResponse initWithResponse_data_userInfo_storagePolicy_ (NSURLResponse response, NSData data, NSDictionary userInfo, objc.id storagePolicy) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithResponse_1data_1userInfo_1storagePolicy_1, response !is null ? response.id : null, - data !is null ? data.id : null, userInfo !is null ? userInfo.id : null, storagePolicy); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithResponse_1data_1userInfo_1storagePolicy_1, response !is null ? response.id_ : null, + data !is null ? data.id_ : null, userInfo !is null ? userInfo.id_ : null, storagePolicy); return result !is null ? this : null; } public NSURLResponse response () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_response); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_response); return result !is null ? new NSURLResponse(result) : null; } public objc.id storagePolicy () { - return OS.objc_msgSend(this.id, OS.sel_storagePolicy); + return OS.objc_msgSend(this.id_, OS.sel_storagePolicy); } public NSDictionary userInfo () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_userInfo); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_userInfo); return result !is null ? new NSDictionary(result) : null; }