Mercurial > projects > dwt-linux
diff dwt/internal/mozilla/nsXPCOMGlue.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | c7c696cdfec2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla/nsXPCOMGlue.d Wed Aug 06 18:29:44 2008 -0700 @@ -0,0 +1,37 @@ +module dwt.internal.mozilla.nsXPCOMGlue; + +extern(C): + +align(4): + +struct GREVersionRange { + char *lower; + int lowerInclusive; + char *upper; + int upperInclusive; +} + +struct GREProperty { + char *property; + char *value; +} + +uint GRE_GetGREPathWithProperties(GREVersionRange *versions, + int versionsLength, + GREProperty *properties, + uint propertiesLength, + char *buffer, uint buflen); + +uint XPCOMGlueStartup(char* xpcomFile); + +alias void function() NSFuncPtr; + +struct nsDynamicFunctionLoad +{ + char *functionName; + NSFuncPtr *func; +} + +uint XPCOMGlueLoadXULFunctions(nsDynamicFunctionLoad *symbols); +uint XPCOMGlueShutdown(); +