view dwt/internal/mozilla/nsXPCOMGlue.d @ 305:c7c696cdfec2

Mozilla module progress; fixes to other browser modules; update XPCOM interfaces
author John Reimer<terminal.node@gmail.com>
date Sat, 16 Aug 2008 22:53:35 -0700
parents dd63eb078d7a
children 942da4b6558a
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();