27 #ifndef __SB_SCRIPTABLE_FUNCTION_H__
28 #define __SB_SCRIPTABLE_FUNCTION_H__
33 #include <nsIClassInfo.h>
34 #include <nsISecurityCheckedComponent.h>
48 NS_DECL_NSISECURITYCHECKEDCOMPONENT
54 NS_IMETHOD
Call( nsIXPConnectWrappedNative *wrapper,
60 PRBool *_retval ) = 0;
70 NS_DECL_ISUPPORTS_INHERITED
73 NS_IMETHOD
Call(nsIXPConnectWrappedNative *wrapper,
93 NS_DECL_ISUPPORTS_INHERITED
96 NS_IMETHOD
Call( nsIXPConnectWrappedNative *wrapper,
110 #endif // __SB_SCRIPTABLE_FUNCTION_H__
NS_IMETHOD Call(nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)=0
NS_DECL_ISUPPORTS_INHERITED NS_IMETHOD Call(nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, PRUint32 argc, jsval *argv, jsval *vp, PRBool *_retval)
sbScriptableLibraryFunction(nsISupports *aObject, const nsIID &aIID)
nsISecurityCheckedComponent
virtual ~sbScriptableFunctionBase()
nsCOMPtr< nsISupports > mObject
virtual ~sbScriptableLibraryFunction()
NS_DECL_ISUPPORTS NS_DECL_NSICLASSINFO NS_DECL_NSISECURITYCHECKEDCOMPONENT NS_IMETHOD GetClassName(char **aClassName)
NS_IMETHOD GetScriptableFlags(PRUint32 *aScriptableFlags)
sbScriptableFunctionBase()