Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSPipe.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 |
---|---|
32 super(id); | 32 super(id); |
33 } | 33 } |
34 | 34 |
35 public NSFileHandle fileHandleForReading () | 35 public NSFileHandle fileHandleForReading () |
36 { | 36 { |
37 objc.id result = OS.objc_msgSend(this.id, OS.sel_fileHandleForReading); | 37 objc.id result = OS.objc_msgSend(this.id_, OS.sel_fileHandleForReading); |
38 return result !is null ? new NSFileHandle(result) : null; | 38 return result !is null ? new NSFileHandle(result) : null; |
39 } | 39 } |
40 | 40 |
41 public NSFileHandle fileHandleForWriting () | 41 public NSFileHandle fileHandleForWriting () |
42 { | 42 { |
43 objc.id result = OS.objc_msgSend(this.id, OS.sel_fileHandleForWriting); | 43 objc.id result = OS.objc_msgSend(this.id_, OS.sel_fileHandleForWriting); |
44 return result !is null ? new NSFileHandle(result) : null; | 44 return result !is null ? new NSFileHandle(result) : null; |
45 } | 45 } |
46 | 46 |
47 public static id pipe () | 47 public static id pipe () |
48 { | 48 { |