Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSMutableIndexSet.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 void addIndex (NSUInteger value) | 35 public void addIndex (NSUInteger value) |
36 { | 36 { |
37 OS.objc_msgSend(this.id, OS.sel_addIndex_1, value); | 37 OS.objc_msgSend(this.id_, OS.sel_addIndex_1, value); |
38 } | 38 } |
39 | 39 |
40 public void addIndexes (NSIndexSet indexSet) | 40 public void addIndexes (NSIndexSet indexSet) |
41 { | 41 { |
42 OS.objc_msgSend(this.id, OS.sel_addIndexes_1, indexSet !is null ? indexSet.id : null); | 42 OS.objc_msgSend(this.id_, OS.sel_addIndexes_1, indexSet !is null ? indexSet.id_ : null); |
43 } | 43 } |
44 | 44 |
45 public void addIndexesInRange (NSRange range) | 45 public void addIndexesInRange (NSRange range) |
46 { | 46 { |
47 OS.objc_msgSend(this.id, OS.sel_addIndexesInRange_1, range); | 47 OS.objc_msgSend(this.id_, OS.sel_addIndexesInRange_1, range); |
48 } | 48 } |
49 | 49 |
50 public void removeAllIndexes () | 50 public void removeAllIndexes () |
51 { | 51 { |
52 OS.objc_msgSend(this.id, OS.sel_removeAllIndexes); | 52 OS.objc_msgSend(this.id_, OS.sel_removeAllIndexes); |
53 } | 53 } |
54 | 54 |
55 public void removeIndex (NSUInteger value) | 55 public void removeIndex (NSUInteger value) |
56 { | 56 { |
57 OS.objc_msgSend(this.id, OS.sel_removeIndex_1, value); | 57 OS.objc_msgSend(this.id_, OS.sel_removeIndex_1, value); |
58 } | 58 } |
59 | 59 |
60 public void removeIndexes (NSIndexSet indexSet) | 60 public void removeIndexes (NSIndexSet indexSet) |
61 { | 61 { |
62 OS.objc_msgSend(this.id, OS.sel_removeIndexes_1, indexSet !is null ? indexSet.id : null); | 62 OS.objc_msgSend(this.id_, OS.sel_removeIndexes_1, indexSet !is null ? indexSet.id_ : null); |
63 } | 63 } |
64 | 64 |
65 public void removeIndexesInRange (NSRange range) | 65 public void removeIndexesInRange (NSRange range) |
66 { | 66 { |
67 OS.objc_msgSend(this.id, OS.sel_removeIndexesInRange_1, range); | 67 OS.objc_msgSend(this.id_, OS.sel_removeIndexesInRange_1, range); |
68 } | 68 } |
69 | 69 |
70 public void shiftIndexesStartingAtIndex (NSUInteger index, NSInteger delta) | 70 public void shiftIndexesStartingAtIndex (NSUInteger index, NSInteger delta) |
71 { | 71 { |
72 OS.objc_msgSend(this.id, OS.sel_shiftIndexesStartingAtIndex_1by_1, index, delta); | 72 OS.objc_msgSend(this.id_, OS.sel_shiftIndexesStartingAtIndex_1by_1, index, delta); |
73 } | 73 } |
74 | 74 |
75 } | 75 } |