diff dwt/internal/mozilla/XPCOMInit.d @ 340:3f4a5c7d138f

Fixes
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 08:09:00 -0700
parents c7c696cdfec2
children 942da4b6558a
line wrap: on
line diff
--- a/dwt/internal/mozilla/XPCOMInit.d	Sat Oct 25 21:01:54 2008 -0700
+++ b/dwt/internal/mozilla/XPCOMInit.d	Sun Oct 26 08:09:00 2008 -0700
@@ -48,12 +48,10 @@
     } 
 }
   
-public class XPCOMInit : Platform {
-    public static final int PATH_MAX = 4096;
+const int PATH_MAX = 4096;
 
 extern(System):
 
-    public static uint GRE_GetGREPathWithProperties(GREVersionRange *versions, int versionsLength, GREProperty *properties, uint propertiesLength, char *buffer, uint  buflen);
-    public static uint XPCOMGlueStartup(char* xpcomFile);
-    public static int XPCOMGlueShutdown ();
-}
+public static uint GRE_GetGREPathWithProperties(GREVersionRange *versions, int versionsLength, GREProperty *properties, uint propertiesLength, char *buffer, uint  buflen);
+public static uint XPCOMGlueStartup(char* xpcomFile);
+public static int XPCOMGlueShutdown ();