Mercurial > projects > dwt-mac
diff 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 |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSNotificationQueue.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSNotificationQueue.d Tue Aug 19 17:35:17 2008 +0200 @@ -54,24 +54,24 @@ public void dequeueNotificationsMatching (NSNotification notification, NSUInteger coalesceMask) { - OS.objc_msgSend(this.id, OS.sel_dequeueNotificationsMatching_1coalesceMask_1, notification !is null ? notification.id : null, coalesceMask); + OS.objc_msgSend(this.id_, OS.sel_dequeueNotificationsMatching_1coalesceMask_1, notification !is null ? notification.id_ : null, coalesceMask); } public void enqueueNotification_postingStyle_ (NSNotification notification, NSPostingStyle postingStyle) { - OS.objc_msgSend(this.id, OS.sel_enqueueNotification_1postingStyle_1, notification !is null ? notification.id : null, postingStyle); + OS.objc_msgSend(this.id_, OS.sel_enqueueNotification_1postingStyle_1, notification !is null ? notification.id_ : null, postingStyle); } public void enqueueNotification_postingStyle_coalesceMask_forModes_ (NSNotification notification, NSPostingStyle postingStyle, NSUInteger coalesceMask, NSArray modes) { - OS.objc_msgSend(this.id, OS.sel_enqueueNotification_1postingStyle_1coalesceMask_1forModes_1, notification !is null ? notification.id : null, - postingStyle, coalesceMask, modes !is null ? modes.id : null); + OS.objc_msgSend(this.id_, OS.sel_enqueueNotification_1postingStyle_1coalesceMask_1forModes_1, notification !is null ? notification.id_ : null, + postingStyle, coalesceMask, modes !is null ? modes.id_ : null); } public id initWithNotificationCenter (NSNotificationCenter notificationCenter) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithNotificationCenter_1, notificationCenter !is null ? notificationCenter.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithNotificationCenter_1, notificationCenter !is null ? notificationCenter.id_ : null); return result !is null ? new id(result) : null; }