diff dwt/browser/HelperAppLauncherDialog.d @ 346:2e591eb01162

Browser Package now compiles (phase 2 complete)
author John Reimer <terminal.node@gmail.com>
date Wed, 29 Oct 2008 20:06:08 -0700
parents 5abc6f7f7a95
children 9a4d7706df52
line wrap: on
line diff
--- a/dwt/browser/HelperAppLauncherDialog.d	Tue Oct 28 22:07:01 2008 -0700
+++ b/dwt/browser/HelperAppLauncherDialog.d	Wed Oct 29 20:06:08 2008 -0700
@@ -37,12 +37,9 @@
 import dwt.widgets.Shell;
 
 class HelperAppLauncherDialog : nsIHelperAppLauncherDialog {
-    //XPCOMObject supports;
-    //XPCOMObject helperAppLauncherDialog;
     int refCount = 0;
 
 this() {
-    //createCOMInterfaces ();
 }
 
 nsrefcnt AddRef () {
@@ -52,8 +49,6 @@
 
 nsresult QueryInterface (nsID* riid, void** ppvObject) {
     if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE;
-    //nsID guid = new nsID ();
-    //XPCOM.memmove (guid, riid, nsID.sizeof);
     
     if (*riid == nsISupports.IID) {
         *ppvObject = cast(void*)cast(nsISupports)this;
@@ -85,7 +80,7 @@
 
 /* nsIHelperAppLauncherDialog */
 
-nsresult Show (nsIHelperAppLauncher aLauncher, nsISupports aContext, PRUint32 aReason) {
+nsresult Show(nsIHelperAppLauncher aLauncher, nsISupports aContext, PRUint32 aReason) {
     /*
     * The interface for nsIHelperAppLauncher changed in GRE versions 1.8 and 1.9.  Query for
     * each of these interfaces in turn until one is found.