Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSProtocolChecker.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/NSProtocolChecker.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSProtocolChecker.d Tue Aug 19 17:35:17 2008 +0200 @@ -32,23 +32,23 @@ } //public id initWithTarget(NSObject anObject, Protocol aProtocol) { - // objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithTarget_1protocol_1, anObject !is null ? anObject.id : null, aProtocol !is null ? aProtocol.id : null); + // objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithTarget_1protocol_1, anObject !is null ? anObject.id_ : null, aProtocol !is null ? aProtocol.id_ : null); // return result !is null ? new id(result) : null; //} // //public Protocol protocol() { - // objc.id result = OS.objc_msgSend(this.id, OS.sel_protocol); + // objc.id result = OS.objc_msgSend(this.id_, OS.sel_protocol); // return result !is null ? new Protocol(result) : null; //} // //public static id protocolCheckerWithTarget(NSObject anObject, Protocol aProtocol) { - // objc.id result = OS.objc_msgSend(OS.class_NSProtocolChecker, OS.sel_protocolCheckerWithTarget_1protocol_1, anObject !is null ? anObject.id : null, aProtocol !is null ? aProtocol.id : null); + // objc.id result = OS.objc_msgSend(OS.class_NSProtocolChecker, OS.sel_protocolCheckerWithTarget_1protocol_1, anObject !is null ? anObject.id_ : null, aProtocol !is null ? aProtocol.id_ : null); // return result !is null ? new id(result) : null; //} public NSObject target () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_target); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_target); return result !is null ? new NSObject(result) : null; }