diff dwt/internal/cocoa/NSURLCredentialStorage.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/NSURLCredentialStorage.d	Sat Aug 09 17:00:02 2008 +0200
+++ b/dwt/internal/cocoa/NSURLCredentialStorage.d	Tue Aug 19 17:35:17 2008 +0200
@@ -35,38 +35,38 @@
 
     public NSDictionary allCredentials ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_allCredentials);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_allCredentials);
         return result !is null ? new NSDictionary(result) : null;
     }
 
     public NSDictionary credentialsForProtectionSpace (NSURLProtectionSpace space)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_credentialsForProtectionSpace_1, space !is null ? space.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_credentialsForProtectionSpace_1, space !is null ? space.id_ : null);
         return result !is null ? new NSDictionary(result) : null;
     }
 
     public NSURLCredential defaultCredentialForProtectionSpace (NSURLProtectionSpace space)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_defaultCredentialForProtectionSpace_1, space !is null ? space.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_defaultCredentialForProtectionSpace_1, space !is null ? space.id_ : null);
         return result !is null ? new NSURLCredential(result) : null;
     }
 
     public void removeCredential (NSURLCredential credential, NSURLProtectionSpace space)
     {
-        OS.objc_msgSend(this.id, OS.sel_removeCredential_1forProtectionSpace_1, credential !is null ? credential.id : null,
-                space !is null ? space.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_removeCredential_1forProtectionSpace_1, credential !is null ? credential.id_ : null,
+                space !is null ? space.id_ : null);
     }
 
     public void setCredential (NSURLCredential credential, NSURLProtectionSpace space)
     {
-        OS.objc_msgSend(this.id, OS.sel_setCredential_1forProtectionSpace_1, credential !is null ? credential.id : null,
-                space !is null ? space.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setCredential_1forProtectionSpace_1, credential !is null ? credential.id_ : null,
+                space !is null ? space.id_ : null);
     }
 
     public void setDefaultCredential (NSURLCredential credential, NSURLProtectionSpace space)
     {
-        OS.objc_msgSend(this.id, OS.sel_setDefaultCredential_1forProtectionSpace_1, credential !is null ? credential.id : null,
-                space !is null ? space.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setDefaultCredential_1forProtectionSpace_1, credential !is null ? credential.id_ : null,
+                space !is null ? space.id_ : null);
     }
 
     public static NSURLCredentialStorage sharedCredentialStorage ()