1 #include "BasePlugin.h"
41 BasePlugin::HasMethod(NPIdentifier name)
63 VOID_TO_NPVARIANT(*result);
66 if (name == sPluginType_id) {
68 NPN_CreateObject(mNpp, GET_NPOBJECT_CLASS(
BasePlugin));
73 OBJECT_TO_NPVARIANT(myobj, *result);
virtual bool HasProperty(NPIdentifier name)
Returns true if the NPIdentifier passed is managed as a scriptable property.
virtual bool Invoke(NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result)
returns true if the invoked method is managed and executes the appropriate code filling the NPVariant...
virtual bool GetProperty(NPIdentifier name, NPVariant *result)
Returns true if the scriptable property is managed and fills the NPVariant pointer with the value...
virtual bool InvokeDefault(const NPVariant *args, uint32_t argCount, NPVariant *result)
Manages the invocation of the default '()' method.