diff dwt/internal/cocoa/NSWorkspace.d @ 123:63a09873578e

Fixed compile errors
author Jacob Carlborg <doob@me.com>
date Thu, 15 Jan 2009 23:08:54 +0100
parents 2e671fa40eec
children 64712e72cb16
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSWorkspace.d	Wed Dec 31 21:01:13 2008 +0100
+++ b/dwt/internal/cocoa/NSWorkspace.d	Thu Jan 15 23:08:54 2009 +0100
@@ -59,7 +59,7 @@
 }
 
 public bool getInfoForFile(NSString fullPath, ref objc.id appName, ref objc.id type) {
-    return OS.objc_msgSend_bool(this.id, OS.sel_getInfoForFile_application_type_, fullPath !is null ? fullPath.id : null, &appName, &type);
+    return OS.objc_msgSend_bool(this.id, OS.sel_getInfoForFile_application_type_, fullPath !is null ? fullPath.id : null, appName, type);
 }
 
 public NSImage iconForFile(NSString fullPath) {
@@ -84,7 +84,7 @@
     return OS.objc_msgSend_bool(this.id, OS.sel_openURL_, url !is null ? url.id : null);
 }
 
-public bool openURLs(NSArray urls, NSString bundleIdentifier, NSWorkspaceLaunchOptions options, NSAppleEventDescriptor descriptor, objc.id* identifiers) {
+public bool openURLs(NSArray urls, NSString bundleIdentifier, NSWorkspaceLaunchOptions options, NSAppleEventDescriptor descriptor, /*NSArray** */ objc.id** identifiers) {
     return OS.objc_msgSend_bool(this.id, OS.sel_openURLs_withAppBundleIdentifier_options_additionalEventParamDescriptor_launchIdentifiers_, urls !is null ? urls.id : null, bundleIdentifier !is null ? bundleIdentifier.id : null, options, descriptor !is null ? descriptor.id : null, identifiers);
 }