20.03.2009, в 18:15, Jack Wootton написал(а):
I'm unsure about how I can access the Browser functions.
You can see how this works in one of our example plug-ins. E.g., form
TestNetscapePlugin:
NPNetscapeFuncs *browser;
// Mach-o entry points
extern "C" {
NPError NP_Initialize(NPNetscapeFuncs *browserFuncs);
NPError NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
void NP_Shutdown(void);
}
// Mach-o entry points
NPError NP_Initialize(NPNetscapeFuncs *browserFuncs)
{
browser = browserFuncs;
return NPERR_NO_ERROR;
}
- WBR, Alexey Proskuryakov
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev