Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSMachBootstrapServer.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/NSMachBootstrapServer.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSMachBootstrapServer.d Tue Aug 19 17:35:17 2008 +0200 @@ -35,24 +35,24 @@ public NSPort portForName_ (NSString name) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_portForName_1, name !is null ? name.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_portForName_1, name !is null ? name.id_ : null); return result !is null ? new NSPort(result) : null; } public NSPort portForName_host_ (NSString name, NSString host) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_portForName_1host_1, name !is null ? name.id : null, host !is null ? host.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_portForName_1host_1, name !is null ? name.id_ : null, host !is null ? host.id_ : null); return result !is null ? new NSPort(result) : null; } public bool registerPort (NSPort port, NSString name) { - return OS.objc_msgSend(this.id, OS.sel_registerPort_1name_1, port !is null ? port.id : null, name !is null ? name.id : null) !is null; + return OS.objc_msgSend(this.id_, OS.sel_registerPort_1name_1, port !is null ? port.id_ : null, name !is null ? name.id_ : null) !is null; } public NSPort servicePortWithName (NSString name) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_servicePortWithName_1, name !is null ? name.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_servicePortWithName_1, name !is null ? name.id_ : null); return result !is null ? new NSPort(result) : null; }