Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSSpeechRecognizer.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/NSSpeechRecognizer.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSSpeechRecognizer.d Tue Aug 19 17:35:17 2008 +0200 @@ -35,65 +35,65 @@ public bool blocksOtherRecognizers () { - return OS.objc_msgSend(this.id, OS.sel_blocksOtherRecognizers) !is null; + return OS.objc_msgSend(this.id_, OS.sel_blocksOtherRecognizers) !is null; } public NSArray commands () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_commands); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_commands); return result !is null ? new NSArray(result) : null; } public id delegatee () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_delegate); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_delegate); return result !is null ? new id(result) : null; } public NSString displayedCommandsTitle () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_displayedCommandsTitle); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_displayedCommandsTitle); return result !is null ? new NSString(result) : null; } public bool listensInForegroundOnly () { - return OS.objc_msgSend(this.id, OS.sel_listensInForegroundOnly) !is null; + return OS.objc_msgSend(this.id_, OS.sel_listensInForegroundOnly) !is null; } public void setBlocksOtherRecognizers (bool flag) { - OS.objc_msgSend(this.id, OS.sel_setBlocksOtherRecognizers_1, flag); + OS.objc_msgSend(this.id_, OS.sel_setBlocksOtherRecognizers_1, flag); } public void setCommands (NSArray commands) { - OS.objc_msgSend(this.id, OS.sel_setCommands_1, commands !is null ? commands.id : null); + OS.objc_msgSend(this.id_, OS.sel_setCommands_1, commands !is null ? commands.id_ : null); } public void setDelegate (id anObject) { - OS.objc_msgSend(this.id, OS.sel_setDelegate_1, anObject !is null ? anObject.id : null); + OS.objc_msgSend(this.id_, OS.sel_setDelegate_1, anObject !is null ? anObject.id_ : null); } public void setDisplayedCommandsTitle (NSString title) { - OS.objc_msgSend(this.id, OS.sel_setDisplayedCommandsTitle_1, title !is null ? title.id : null); + OS.objc_msgSend(this.id_, OS.sel_setDisplayedCommandsTitle_1, title !is null ? title.id_ : null); } public void setListensInForegroundOnly (bool flag) { - OS.objc_msgSend(this.id, OS.sel_setListensInForegroundOnly_1, flag); + OS.objc_msgSend(this.id_, OS.sel_setListensInForegroundOnly_1, flag); } public void startListening () { - OS.objc_msgSend(this.id, OS.sel_startListening); + OS.objc_msgSend(this.id_, OS.sel_startListening); } public void stopListening () { - OS.objc_msgSend(this.id, OS.sel_stopListening); + OS.objc_msgSend(this.id_, OS.sel_stopListening); } }