nsIXPCScriptable

IID:fa2c3b80-0e9d-11d5-9092-0010a4e73d9a
Inherits From:nsISupports

Constants

PRUint32 WANT_PRECREATE = 1
PRUint32 WANT_CREATE = 2
PRUint32 WANT_POSTCREATE = 4
PRUint32 WANT_ADDPROPERTY = 8
PRUint32 WANT_DELPROPERTY = 16
PRUint32 WANT_GETPROPERTY = 32
PRUint32 WANT_SETPROPERTY = 64
PRUint32 WANT_ENUMERATE = 128
PRUint32 WANT_NEWENUMERATE = 256
PRUint32 WANT_NEWRESOLVE = 512
PRUint32 WANT_CONVERT = 1024
PRUint32 WANT_FINALIZE = 2048
PRUint32 WANT_CHECKACCESS = 4096
PRUint32 WANT_CALL = 8192
PRUint32 WANT_CONSTRUCT = 16384
PRUint32 WANT_HASINSTANCE = 32768
PRUint32 WANT_MARK = 65536
PRUint32 USE_JSSTUB_FOR_ADDPROPERTY = 131072
PRUint32 USE_JSSTUB_FOR_DELPROPERTY = 262144
PRUint32 USE_JSSTUB_FOR_SETPROPERTY = 524288
PRUint32 DONT_ENUM_STATIC_PROPS = 1048576
PRUint32 DONT_ENUM_QUERY_INTERFACE = 2097152
PRUint32 DONT_ASK_INSTANCE_FOR_SCRIPTABLE = 4194304
PRUint32 CLASSINFO_INTERFACES_ONLY = 8388608
PRUint32 ALLOW_PROP_MODS_DURING_RESOLVE = 16777216
PRUint32 ALLOW_PROP_MODS_TO_PROTOTYPE = 33554432
PRUint32 DONT_SHARE_PROTOTYPE = 67108864
PRUint32 DONT_REFLECT_INTERFACE_NAMES = 134217728
PRUint32 RESERVED = -2147483648

Properties

readonly char* className

readonly PRUint32 scriptableFlags


Methods

PRBool addProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp ) PRBool call ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 argc , JSValPtr* argv , JSValPtr* vp ) PRBool checkAccess ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , PRUint32 mode , JSValPtr* vp ) PRBool construct ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 argc , JSValPtr* argv , JSValPtr* vp ) PRBool convert ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 type , JSValPtr* vp ) void create ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj ) PRBool delProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp ) PRBool enumerate ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj ) void finalize ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj ) PRBool getProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp ) PRBool hasInstance ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal val , out PRBool bp ) PRUint32 mark ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , voidPtr* arg ) PRBool newEnumerate ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 enum_op , JSValPtr* statep , out JSID idp ) PRBool newResolve ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , PRUint32 flags , out JSObjectPtr* objp ) void postCreate ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj ) void preCreate ( nsISupports nativeObj , JSContextPtr* cx , JSObjectPtr* globalObj , out JSObjectPtr* parentObj ) PRBool setProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp )

PRBool addProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp )

Arguments:
wrapper
cx
obj
id
vp

PRBool call ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 argc , JSValPtr* argv , JSValPtr* vp )

Arguments:
wrapper
cx
obj
argc
argv
vp

PRBool checkAccess ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , PRUint32 mode , JSValPtr* vp )

Arguments:
wrapper
cx
obj
id
mode
vp

PRBool construct ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 argc , JSValPtr* argv , JSValPtr* vp )

Arguments:
wrapper
cx
obj
argc
argv
vp

PRBool convert ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 type , JSValPtr* vp )

Arguments:
wrapper
cx
obj
type
vp

void create ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj )

Arguments:
wrapper
cx
obj

PRBool delProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp )

Arguments:
wrapper
cx
obj
id
vp

PRBool enumerate ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj )

Arguments:
wrapper
cx
obj

void finalize ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj )

Arguments:
wrapper
cx
obj

PRBool getProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp )

Arguments:
wrapper
cx
obj
id
vp

PRBool hasInstance ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal val , out PRBool bp )

Arguments:
wrapper
cx
obj
val
bp

PRUint32 mark ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , voidPtr* arg )

Arguments:
wrapper
cx
obj
arg

PRBool newEnumerate ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , PRUint32 enum_op , JSValPtr* statep , out JSID idp )

Arguments:
wrapper
cx
obj
enum_op
statep
idp

PRBool newResolve ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , PRUint32 flags , out JSObjectPtr* objp )

Arguments:
wrapper
cx
obj
id
flags
objp

void postCreate ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj )

Arguments:
wrapper
cx
obj

void preCreate ( nsISupports nativeObj , JSContextPtr* cx , JSObjectPtr* globalObj , out JSObjectPtr* parentObj )

Arguments:
nativeObj
cx
globalObj
parentObj

PRBool setProperty ( nsIXPConnectWrappedNative wrapper , JSContextPtr* cx , JSObjectPtr* obj , JSVal id , JSValPtr* vp )

Arguments:
wrapper
cx
obj
id
vp

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com