Exemplo n.º 1
0
NPError NPN_GetURLNotify(NPP instance, const char *url, const char *target, void *notifyData)
{
    int navMinorVers = NPNFuncs.version & 0xFF;
    NPError rv = NPERR_NO_ERROR;

    if (navMinorVers >= NPVERS_HAS_NOTIFICATION)
        rv = NPNFuncs.geturlnotify(instance, url, target, notifyData);
    else
        rv = NPERR_INCOMPATIBLE_VERSION_ERROR;
    return rv;
}
Exemplo n.º 2
0
static
NPError MyNPN_GetURLNotify(NPP instance, const char* url,
                 const char* target, void* notifyData)
{
	NPError err;	
	DEB(ef, "-> NPN_GetURLNotify( %x, %s, %s, 0x%x )\n", instance, url, target, notifyData);	
	
	err = gNetscapeFuncs.geturlnotify( instance, url, target, notifyData );		
	DEB(ef, "<- NPN_GetURLNotify = %d\n", err);
	return err;
}
Exemplo n.º 3
0
NPError NPN_GetURLNotify(NPP instance, const char *url, const char *target, void* notifyData)
{
    int navMinorVers = NPNFuncs.version & 0xFF;

    NPError rv = NPERR_NO_ERROR;

    if(logger)
        logger->logCall(action_npn_get_url_notify, (DWORD)instance, (DWORD)url, (DWORD)target, (DWORD)notifyData);

    if( navMinorVers >= NPVERS_HAS_NOTIFICATION )
        rv = NPNFuncs.geturlnotify(instance, url, target, notifyData);
    else
        rv = NPERR_INCOMPATIBLE_VERSION_ERROR;

    if(logger)
        logger->logReturn();

    return rv;
}
Exemplo n.º 4
0
NPError NPN_GetURLNotify(NPP instance, const char *url, const char *target, void* notifyData)
{
  return NPNFuncs.geturlnotify(instance, url, target, notifyData);
}