diff dwt/internal/cocoa/NSLocale.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/NSLocale.d	Sat Aug 09 17:00:02 2008 +0200
+++ b/dwt/internal/cocoa/NSLocale.d	Tue Aug 19 17:35:17 2008 +0200
@@ -66,7 +66,7 @@
 
     public static NSString canonicalLocaleIdentifierFromString (NSString string)
     {
-        objc.id result = OS.objc_msgSend(OS.class_NSLocale, OS.sel_canonicalLocaleIdentifierFromString_1, string !is null ? string.id : null);
+        objc.id result = OS.objc_msgSend(OS.class_NSLocale, OS.sel_canonicalLocaleIdentifierFromString_1, string !is null ? string.id_ : null);
         return result !is null ? new NSString(result) : null;
     }
 
@@ -78,7 +78,7 @@
 
     public static NSDictionary componentsFromLocaleIdentifier (NSString string)
     {
-        objc.id result = OS.objc_msgSend(OS.class_NSLocale, OS.sel_componentsFromLocaleIdentifier_1, string !is null ? string.id : null);
+        objc.id result = OS.objc_msgSend(OS.class_NSLocale, OS.sel_componentsFromLocaleIdentifier_1, string !is null ? string.id_ : null);
         return result !is null ? new NSDictionary(result) : null;
     }
 
@@ -90,31 +90,31 @@
 
     public NSString displayNameForKey (id key, id value)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_displayNameForKey_1value_1, key !is null ? key.id : null, value !is null ? value.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_displayNameForKey_1value_1, key !is null ? key.id_ : null, value !is null ? value.id_ : null);
         return result !is null ? new NSString(result) : null;
     }
 
     public id initWithLocaleIdentifier (NSString string)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithLocaleIdentifier_1, string !is null ? string.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithLocaleIdentifier_1, string !is null ? string.id_ : null);
         return result !is null ? new id(result) : null;
     }
 
     public NSString localeIdentifier ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_localeIdentifier);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_localeIdentifier);
         return result !is null ? new NSString(result) : null;
     }
 
     public static NSString localeIdentifierFromComponents (NSDictionary dict)
     {
-        objc.id result = OS.objc_msgSend(OS.class_NSLocale, OS.sel_localeIdentifierFromComponents_1, dict !is null ? dict.id : null);
+        objc.id result = OS.objc_msgSend(OS.class_NSLocale, OS.sel_localeIdentifierFromComponents_1, dict !is null ? dict.id_ : null);
         return result !is null ? new NSString(result) : null;
     }
 
     public id objectForKey (id key)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_objectForKey_1, key !is null ? key.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_objectForKey_1, key !is null ? key.id_ : null);
         return result !is null ? new id(result) : null;
     }