sbScriptableFunctionBase Class Referenceabstract

#include <sbScriptableFunction.h>

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

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_NSISECURITYCHECKEDCOMPONENT
NS_IMETHOD 
GetClassName (char **aClassName)
 
NS_IMETHOD GetScriptableFlags (PRUint32 *aScriptableFlags)
 
NS_IMETHOD Call (nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)=0
 
- Public Member Functions inherited from sbXPCScriptableStub
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)
 

Protected Member Functions

 sbScriptableFunctionBase ()
 
virtual ~sbScriptableFunctionBase ()
 

Detailed Description

This is a stub class that takes an object and some interface, and simply returns it when called as a JS function. It exists to help preserve the Songbird 0.3 API.

Definition at line 42 of file sbScriptableFunction.h.

Constructor & Destructor Documentation

sbScriptableFunctionBase::sbScriptableFunctionBase ( )
protected
sbScriptableFunctionBase::~sbScriptableFunctionBase ( )
protectedvirtual

Definition at line 66 of file sbScriptableFunction.cpp.

Member Function Documentation

NS_IMETHOD sbScriptableFunctionBase::Call ( nsIXPConnectWrappedNative *  wrapper,
JSContext *  cx,
JSObject *  obj,
PRUint32  argc,
jsval *  argv,
jsval *  vp,
PRBool *  _retval 
)
pure virtual
NS_IMETHODIMP sbScriptableFunctionBase::GetClassName ( char **  aClassName)

Definition at line 78 of file sbScriptableFunction.cpp.

NS_IMETHODIMP sbScriptableFunctionBase::GetScriptableFlags ( PRUint32 *  aScriptableFlags)

Definition at line 89 of file sbScriptableFunction.cpp.


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