本文整理汇总了C++中NPNetscapeFuncs::geturlnotify方法的典型用法代码示例。如果您正苦于以下问题:C++ NPNetscapeFuncs::geturlnotify方法的具体用法?C++ NPNetscapeFuncs::geturlnotify怎么用?C++ NPNetscapeFuncs::geturlnotify使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NPNetscapeFuncs
的用法示例。
在下文中一共展示了NPNetscapeFuncs::geturlnotify方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: NPN_GetURLNotify
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;
}
示例2: MyNPN_GetURLNotify
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;
}
示例3: NPN_GetURLNotify
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;
}
示例4: NPN_GetURLNotify
NPError NPN_GetURLNotify(NPP instance, const char *url, const char *target, void* notifyData)
{
return NPNFuncs.geturlnotify(instance, url, target, notifyData);
}