本文整理汇总了C++中NPNetscapeFuncs类的典型用法代码示例。如果您正苦于以下问题:C++ NPNetscapeFuncs类的具体用法?C++ NPNetscapeFuncs怎么用?C++ NPNetscapeFuncs使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了NPNetscapeFuncs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
bool
NPN_Invoke(NPP npp, NPObject* obj, NPIdentifier methodName,
const NPVariant *args, uint32_t argCount, NPVariant *result)
{
return NPNFuncs.invoke(npp, obj, methodName, args, argCount, result);
}
示例2: NPN_InvalidateRegion
void NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion)
{
NPNFuncs.invalidateregion(instance, invalidRegion);
}
示例3: NPN_GetStringIdentifier
NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name)
{
return NPNFuncs.getstringidentifier(name);
}
示例4: NPN_GetJavaEnv
JRIEnv* NPN_GetJavaEnv(void)
{
JRIEnv * rv = NULL;
rv = NPNFuncs.getJavaEnv();
return rv;
}
示例5: NPN_SetValue
NPError NPN_SetValue(NPP instance, NPPVariable variable, void *value)
{
NPError rv = NPNFuncs.setvalue(instance, variable, value);
return rv;
}
示例6: NPN_MemAlloc
void* NPN_MemAlloc(uint32 size)
{
void * rv = NULL;
rv = NPNFuncs.memalloc(size);
return rv;
}
示例7: NPN_MemFlush
uint32 NPN_MemFlush(uint32 size)
{
uint32 rv = NPNFuncs.memflush(size);
return rv;
}
示例8: NPN_Status
void NPN_Status(NPP instance, const char *message)
{
NPNFuncs.status(instance, message);
}
示例9: NPN_UserAgent
const char* NPN_UserAgent(NPP instance)
{
const char * rv = NULL;
rv = NPNFuncs.uagent(instance);
return rv;
}
示例10: NPN_MemFree
void NPN_MemFree(void* ptr)
{
NPNFuncs.memfree(ptr);
}
示例11: NPN_ReloadPlugins
void NPN_ReloadPlugins(NPBool reloadPages)
{
NPNFuncs.reloadplugins(reloadPages);
}
示例12: NPN_GetJavaPeer
jref NPN_GetJavaPeer(NPP instance)
{
jref rv;
rv = NPNFuncs.getJavaPeer(instance);
return rv;
}
示例13: void
void
NPN_PluginThreadAsyncCall(NPP plugin, void (*func)(void *), void *userData)
{
NPNFuncs.pluginthreadasynccall(plugin, func, userData);
}
示例14: NPN_InvalidateRect
void NPN_InvalidateRect(NPP instance, NPRect *invalidRect)
{
NPNFuncs.invalidaterect(instance, invalidRect);
}
示例15: NPN_ForceRedraw
void NPN_ForceRedraw(NPP instance)
{
NPNFuncs.forceredraw(instance);
}