Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSDistantObjectRequest.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 |
comparison
equal
deleted
inserted
replaced
0:380af2bdd8e5 | 1:8b48be5454ce |
---|---|
33 super(id); | 33 super(id); |
34 } | 34 } |
35 | 35 |
36 public NSConnection connection () | 36 public NSConnection connection () |
37 { | 37 { |
38 objc.id result = OS.objc_msgSend(this.id, OS.sel_connection); | 38 objc.id result = OS.objc_msgSend(this.id_, OS.sel_connection); |
39 return result !is null ? new NSConnection(result) : null; | 39 return result !is null ? new NSConnection(result) : null; |
40 } | 40 } |
41 | 41 |
42 public id conversation () | 42 public id conversation () |
43 { | 43 { |
44 objc.id result = OS.objc_msgSend(this.id, OS.sel_conversation); | 44 objc.id result = OS.objc_msgSend(this.id_, OS.sel_conversation); |
45 return result !is null ? new id(result) : null; | 45 return result !is null ? new id(result) : null; |
46 } | 46 } |
47 | 47 |
48 public NSInvocation invocation () | 48 public NSInvocation invocation () |
49 { | 49 { |
50 objc.id result = OS.objc_msgSend(this.id, OS.sel_invocation); | 50 objc.id result = OS.objc_msgSend(this.id_, OS.sel_invocation); |
51 return result !is null ? new NSInvocation(result) : null; | 51 return result !is null ? new NSInvocation(result) : null; |
52 } | 52 } |
53 | 53 |
54 public void replyWithException (NSException exception) | 54 public void replyWithException (NSException exception) |
55 { | 55 { |
56 OS.objc_msgSend(this.id, OS.sel_replyWithException_1, exception !is null ? exception.id : null); | 56 OS.objc_msgSend(this.id_, OS.sel_replyWithException_1, exception !is null ? exception.id_ : null); |
57 } | 57 } |
58 } | 58 } |