diff dwt/internal/cocoa/NSPrintPanel.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/NSPrintPanel.d	Sat Aug 09 17:00:02 2008 +0200
+++ b/dwt/internal/cocoa/NSPrintPanel.d	Tue Aug 19 17:35:17 2008 +0200
@@ -59,59 +59,59 @@
 
     public NSArray accessoryControllers ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_accessoryControllers);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_accessoryControllers);
         return result !is null ? new NSArray(result) : null;
     }
 
     public NSView accessoryView ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_accessoryView);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_accessoryView);
         return result !is null ? new NSView(result) : null;
     }
 
     public void addAccessoryController (NSViewController accessoryController)
     {
-        OS.objc_msgSend(this.id, OS.sel_addAccessoryController_1, accessoryController !is null ? accessoryController.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_addAccessoryController_1, accessoryController !is null ? accessoryController.id_ : null);
     }
 
     public void beginSheetWithPrintInfo (NSPrintInfo printInfo, NSWindow docWindow, id delegatee, objc.SEL didEndSelector, void* contextInfo)
     {
-        OS.objc_msgSend(this.id, OS.sel_beginSheetWithPrintInfo_1modalForWindow_1delegate_1didEndSelector_1contextInfo_1,
-                printInfo !is null ? printInfo.id : null, docWindow !is null ? docWindow.id : null, delegatee !is null ? delegatee.id : null,
+        OS.objc_msgSend(this.id_, OS.sel_beginSheetWithPrintInfo_1modalForWindow_1delegate_1didEndSelector_1contextInfo_1,
+                printInfo !is null ? printInfo.id_ : null, docWindow !is null ? docWindow.id_ : null, delegatee !is null ? delegatee.id_ : null,
                 didEndSelector, contextInfo);
     }
 
     public NSString defaultButtonTitle ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_defaultButtonTitle);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_defaultButtonTitle);
         return result !is null ? new NSString(result) : null;
     }
 
     public void finalWritePrintInfo ()
     {
-        OS.objc_msgSend(this.id, OS.sel_finalWritePrintInfo);
+        OS.objc_msgSend(this.id_, OS.sel_finalWritePrintInfo);
     }
 
     public NSString helpAnchor ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_helpAnchor);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_helpAnchor);
         return result !is null ? new NSString(result) : null;
     }
 
     public NSString jobStyleHint ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_jobStyleHint);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_jobStyleHint);
         return result !is null ? new NSString(result) : null;
     }
 
     public NSPrintPanelOptions options ()
     {
-        return cast(NSPrintPanelOptions) OS.objc_msgSend(this.id, OS.sel_options);
+        return cast(NSPrintPanelOptions) OS.objc_msgSend(this.id_, OS.sel_options);
     }
 
     public NSPrintInfo printInfo ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_printInfo);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_printInfo);
         return result !is null ? new NSPrintInfo(result) : null;
     }
 
@@ -123,47 +123,47 @@
 
     public void removeAccessoryController (NSViewController accessoryController)
     {
-        OS.objc_msgSend(this.id, OS.sel_removeAccessoryController_1, accessoryController !is null ? accessoryController.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_removeAccessoryController_1, accessoryController !is null ? accessoryController.id_ : null);
     }
 
     public NSInteger runModal ()
     {
-        return cast(NSInteger) OS.objc_msgSend(this.id, OS.sel_runModal);
+        return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_runModal);
     }
 
     public NSInteger runModalWithPrintInfo (NSPrintInfo printInfo)
     {
-        return cast(NSInteger) OS.objc_msgSend(this.id, OS.sel_runModalWithPrintInfo_1, printInfo !is null ? printInfo.id : null);
+        return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_runModalWithPrintInfo_1, printInfo !is null ? printInfo.id_ : null);
     }
 
     public void setAccessoryView (NSView accessoryView)
     {
-        OS.objc_msgSend(this.id, OS.sel_setAccessoryView_1, accessoryView !is null ? accessoryView.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setAccessoryView_1, accessoryView !is null ? accessoryView.id_ : null);
     }
 
     public void setDefaultButtonTitle (NSString defaultButtonTitle)
     {
-        OS.objc_msgSend(this.id, OS.sel_setDefaultButtonTitle_1, defaultButtonTitle !is null ? defaultButtonTitle.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setDefaultButtonTitle_1, defaultButtonTitle !is null ? defaultButtonTitle.id_ : null);
     }
 
     public void setHelpAnchor (NSString helpAnchor)
     {
-        OS.objc_msgSend(this.id, OS.sel_setHelpAnchor_1, helpAnchor !is null ? helpAnchor.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setHelpAnchor_1, helpAnchor !is null ? helpAnchor.id_ : null);
     }
 
     public void setJobStyleHint (NSString hint)
     {
-        OS.objc_msgSend(this.id, OS.sel_setJobStyleHint_1, hint !is null ? hint.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setJobStyleHint_1, hint !is null ? hint.id_ : null);
     }
 
     public void setOptions (NSPrintPanelOptions options)
     {
-        OS.objc_msgSend(this.id, OS.sel_setOptions_1, options);
+        OS.objc_msgSend(this.id_, OS.sel_setOptions_1, options);
     }
 
     public void updateFromPrintInfo ()
     {
-        OS.objc_msgSend(this.id, OS.sel_updateFromPrintInfo);
+        OS.objc_msgSend(this.id_, OS.sel_updateFromPrintInfo);
     }
 
 }