diff dwt/internal/cocoa/NSNetServiceBrowser.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/NSNetServiceBrowser.d	Sat Aug 09 17:00:02 2008 +0200
+++ b/dwt/internal/cocoa/NSNetServiceBrowser.d	Tue Aug 19 17:35:17 2008 +0200
@@ -35,49 +35,49 @@
 
     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 void removeFromRunLoop (NSRunLoop aRunLoop, NSString mode)
     {
-        OS.objc_msgSend(this.id, OS.sel_removeFromRunLoop_1forMode_1, aRunLoop !is null ? aRunLoop.id : null, mode !is null ? mode.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_removeFromRunLoop_1forMode_1, aRunLoop !is null ? aRunLoop.id_ : null, mode !is null ? mode.id_ : null);
     }
 
     public void scheduleInRunLoop (NSRunLoop aRunLoop, NSString mode)
     {
-        OS.objc_msgSend(this.id, OS.sel_scheduleInRunLoop_1forMode_1, aRunLoop !is null ? aRunLoop.id : null, mode !is null ? mode.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_scheduleInRunLoop_1forMode_1, aRunLoop !is null ? aRunLoop.id_ : null, mode !is null ? mode.id_ : null);
     }
 
     public void searchForAllDomains ()
     {
-        OS.objc_msgSend(this.id, OS.sel_searchForAllDomains);
+        OS.objc_msgSend(this.id_, OS.sel_searchForAllDomains);
     }
 
     public void searchForBrowsableDomains ()
     {
-        OS.objc_msgSend(this.id, OS.sel_searchForBrowsableDomains);
+        OS.objc_msgSend(this.id_, OS.sel_searchForBrowsableDomains);
     }
 
     public void searchForRegistrationDomains ()
     {
-        OS.objc_msgSend(this.id, OS.sel_searchForRegistrationDomains);
+        OS.objc_msgSend(this.id_, OS.sel_searchForRegistrationDomains);
     }
 
     public void searchForServicesOfType (NSString type, NSString domainString)
     {
-        OS.objc_msgSend(this.id, OS.sel_searchForServicesOfType_1inDomain_1, type !is null ? type.id : null,
-                domainString !is null ? domainString.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_searchForServicesOfType_1inDomain_1, type !is null ? type.id_ : null,
+                domainString !is null ? domainString.id_ : null);
     }
 
     public void setDelegate (id delegatee)
     {
-        OS.objc_msgSend(this.id, OS.sel_setDelegate_1, delegatee !is null ? delegatee.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setDelegate_1, delegatee !is null ? delegatee.id_ : null);
     }
 
     public void stop ()
     {
-        OS.objc_msgSend(this.id, OS.sel_stop);
+        OS.objc_msgSend(this.id_, OS.sel_stop);
     }
 
 }