sbXPCScriptableStub Class Reference

#include <sbXPCScriptableStub.h>

Inheritance diagram for sbXPCScriptableStub:
[legend]
Collaboration diagram for sbXPCScriptableStub:
[legend]

Public Member Functions

virtual ~sbXPCScriptableStub ()
 
NS_IMETHOD PreCreate (nsISupports *nativeObj, JSContext *cx, JSObject *globalObj, JSObject **parentObj)
 
NS_IMETHOD Create (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj)
 
NS_IMETHOD PostCreate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj)
 
NS_IMETHOD AddProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD DelProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD GetProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD SetProperty (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Enumerate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRBool *_retval)
 
NS_IMETHOD NewEnumerate (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 enum_op, jsval *statep, jsid *idp, PRBool *_retval)
 
NS_IMETHOD NewResolve (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, PRUint32 flags, JSObject **objp, PRBool *_retval)
 
NS_IMETHOD Convert (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 type, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Finalize (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj)
 
NS_IMETHOD CheckAccess (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, PRUint32 mode, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Call (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)
 
NS_IMETHOD Construct (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)
 
NS_IMETHOD HasInstance (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval val, PRBool *bp, PRBool *_retval)
 
NS_IMETHOD Trace (nsIXPConnectWrappedNative *wrapper, JSTracer *trc, JSObject *obj)
 
NS_IMETHOD Equality (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval val, PRBool *_retval)
 
NS_IMETHOD OuterObject (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, JSObject **_retval)
 
NS_IMETHOD InnerObject (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, JSObject **_retval)
 
NS_IMETHOD PostCreatePrototype (JSContext *cx, JSObject *proto)
 

Detailed Description

This is a stub implementation of most of the methods in nsIXPCScriptable note that this is expected to be subclassed and appropriate methods overridden - this doesn't even implement nsISupports

Definition at line 37 of file sbXPCScriptableStub.h.

Constructor & Destructor Documentation

virtual sbXPCScriptableStub::~sbXPCScriptableStub ( )
inlinevirtual

Definition at line 40 of file sbXPCScriptableStub.h.

Member Function Documentation

NS_IMETHOD sbXPCScriptableStub::AddProperty ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 71 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Call ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRUint32  argc,
jsval *  argv,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 186 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::CheckAccess ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
PRUint32  mode,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 172 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Construct ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRUint32  argc,
jsval *  argv,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 197 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Convert ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRUint32  type,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 154 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Create ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj 
)
inline

Definition at line 53 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::DelProperty ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 81 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Enumerate ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRBool *  _retval 
)
inline

Definition at line 115 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Equality ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  val,
PRBool *  _retval 
)
inline

Definition at line 225 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Finalize ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj 
)
inline

Definition at line 164 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::GetProperty ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 95 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::HasInstance ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  val,
PRBool *  bp,
PRBool *  _retval 
)
inline

Definition at line 208 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::InnerObject ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
JSObject **  _retval 
)
inline

Definition at line 242 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::NewEnumerate ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRUint32  enum_op,
jsval *  statep,
jsid *  idp,
PRBool *  _retval 
)
inline

Definition at line 127 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::NewResolve ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
PRUint32  flags,
JSObject **  objp,
PRBool *  _retval 
)
inline

Definition at line 143 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::OuterObject ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
JSObject **  _retval 
)
inline

Definition at line 234 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::PostCreate ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj 
)
inline

Definition at line 60 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::PostCreatePrototype ( JSContext *  cx,
JSObject *  proto 
)
inline

Definition at line 250 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::PreCreate ( nsISupports nativeObj,
JSContext *  cx,
JSObject *  globalObj,
JSObject **  parentObj 
)
inline

Definition at line 45 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::SetProperty ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
jsval  id,
jsval *  vp,
PRBool *  _retval 
)
inline

Definition at line 105 of file sbXPCScriptableStub.h.

NS_IMETHOD sbXPCScriptableStub::Trace ( nsIXPConnectWrappedNative *  wrapper,
JSTracer *  trc,
JSObject *  obj 
)
inline

Definition at line 218 of file sbXPCScriptableStub.h.


The documentation for this class was generated from the following file: