comparison dwt/internal/cocoa/NSNotificationQueue.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
52 return result !is null ? new id(result) : null; 52 return result !is null ? new id(result) : null;
53 } 53 }
54 54
55 public void dequeueNotificationsMatching (NSNotification notification, NSUInteger coalesceMask) 55 public void dequeueNotificationsMatching (NSNotification notification, NSUInteger coalesceMask)
56 { 56 {
57 OS.objc_msgSend(this.id, OS.sel_dequeueNotificationsMatching_1coalesceMask_1, notification !is null ? notification.id : null, coalesceMask); 57 OS.objc_msgSend(this.id_, OS.sel_dequeueNotificationsMatching_1coalesceMask_1, notification !is null ? notification.id_ : null, coalesceMask);
58 } 58 }
59 59
60 public void enqueueNotification_postingStyle_ (NSNotification notification, NSPostingStyle postingStyle) 60 public void enqueueNotification_postingStyle_ (NSNotification notification, NSPostingStyle postingStyle)
61 { 61 {
62 OS.objc_msgSend(this.id, OS.sel_enqueueNotification_1postingStyle_1, notification !is null ? notification.id : null, postingStyle); 62 OS.objc_msgSend(this.id_, OS.sel_enqueueNotification_1postingStyle_1, notification !is null ? notification.id_ : null, postingStyle);
63 } 63 }
64 64
65 public void enqueueNotification_postingStyle_coalesceMask_forModes_ (NSNotification notification, NSPostingStyle postingStyle, NSUInteger coalesceMask, 65 public void enqueueNotification_postingStyle_coalesceMask_forModes_ (NSNotification notification, NSPostingStyle postingStyle, NSUInteger coalesceMask,
66 NSArray modes) 66 NSArray modes)
67 { 67 {
68 OS.objc_msgSend(this.id, OS.sel_enqueueNotification_1postingStyle_1coalesceMask_1forModes_1, notification !is null ? notification.id : null, 68 OS.objc_msgSend(this.id_, OS.sel_enqueueNotification_1postingStyle_1coalesceMask_1forModes_1, notification !is null ? notification.id_ : null,
69 postingStyle, coalesceMask, modes !is null ? modes.id : null); 69 postingStyle, coalesceMask, modes !is null ? modes.id_ : null);
70 } 70 }
71 71
72 public id initWithNotificationCenter (NSNotificationCenter notificationCenter) 72 public id initWithNotificationCenter (NSNotificationCenter notificationCenter)
73 { 73 {
74 objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithNotificationCenter_1, notificationCenter !is null ? notificationCenter.id : null); 74 objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithNotificationCenter_1, notificationCenter !is null ? notificationCenter.id_ : null);
75 return result !is null ? new id(result) : null; 75 return result !is null ? new id(result) : null;
76 } 76 }
77 77
78 } 78 }