view dwt/internal/mozilla/nsXPCOMGlue.d @ 341:942da4b6558a

Ongoing fixup for compile
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 21:19:51 -0700
parents c7c696cdfec2
children
line wrap: on
line source

module dwt.internal.mozilla.nsXPCOMGlue;

//extern(System):

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();