Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIXPConnect.idl File Reference
import "nsISupports.idl";
import "nsIClassInfo.idl";
import "xpccomponents.idl";
import "xpcjsid.idl";
import "xpcexception.idl";
import "nsIInterfaceInfo.idl";
import "nsIInterfaceInfoManager.idl";
import "nsIExceptionService.idl";
import "nsIVariant.idl";
import "nsIWeakReference.idl";
#include "jspubtd.h"
#include "xptinfo.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  nsIXPConnectJSObjectHolder
interface  nsIXPConnectWrappedNative
interface  nsIXPConnectWrappedJS
interface  nsIXPConnectWrappedJS_MOZILLA_1_8_BRANCH
interface  nsWeakRefToIXPConnectWrappedJS
 This interface is a complete hack. More...
interface  nsIXPCNativeCallContext
 This is a somewhat special interface. More...
interface  nsIXPCWrappedJSObjectGetter
 This is a sort of a placeholder interface. More...
interface  nsIXPCFunctionThisTranslator
interface  nsIXPConnect
interface  nsIXPConnect_MOZILLA_1_8_BRANCH
interface  nsIXPConnect_MOZILLA_1_8_BRANCH2

Defines

#define GENERATE_XPC_FAILURE(x)   (NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_XPCONNECT,x))
#define NS_ERROR_XPC_NOT_ENOUGH_ARGS   GENERATE_XPC_FAILURE( 1)
#define NS_ERROR_XPC_NEED_OUT_OBJECT   GENERATE_XPC_FAILURE( 2)
#define NS_ERROR_XPC_CANT_SET_OUT_VAL   GENERATE_XPC_FAILURE( 3)
#define NS_ERROR_XPC_NATIVE_RETURNED_FAILURE   GENERATE_XPC_FAILURE( 4)
#define NS_ERROR_XPC_CANT_GET_INTERFACE_INFO   GENERATE_XPC_FAILURE( 5)
#define NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO   GENERATE_XPC_FAILURE( 6)
#define NS_ERROR_XPC_CANT_GET_METHOD_INFO   GENERATE_XPC_FAILURE( 7)
#define NS_ERROR_XPC_UNEXPECTED   GENERATE_XPC_FAILURE( 8)
#define NS_ERROR_XPC_BAD_CONVERT_JS   GENERATE_XPC_FAILURE( 9)
#define NS_ERROR_XPC_BAD_CONVERT_NATIVE   GENERATE_XPC_FAILURE(10)
#define NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF   GENERATE_XPC_FAILURE(11)
#define NS_ERROR_XPC_BAD_OP_ON_WN_PROTO   GENERATE_XPC_FAILURE(12)
#define NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN   GENERATE_XPC_FAILURE(13)
#define NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN   GENERATE_XPC_FAILURE(14)
#define NS_ERROR_XPC_CANT_WATCH_WN_STATIC   GENERATE_XPC_FAILURE(15)
#define NS_ERROR_XPC_CANT_EXPORT_WN_STATIC   GENERATE_XPC_FAILURE(16)
#define NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED   GENERATE_XPC_FAILURE(17)
#define NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED   GENERATE_XPC_FAILURE(18)
#define NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE   GENERATE_XPC_FAILURE(19)
#define NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE   GENERATE_XPC_FAILURE(20)
#define NS_ERROR_XPC_CI_RETURNED_FAILURE   GENERATE_XPC_FAILURE(21)
#define NS_ERROR_XPC_GS_RETURNED_FAILURE   GENERATE_XPC_FAILURE(22)
#define NS_ERROR_XPC_BAD_CID   GENERATE_XPC_FAILURE(23)
#define NS_ERROR_XPC_BAD_IID   GENERATE_XPC_FAILURE(24)
#define NS_ERROR_XPC_CANT_CREATE_WN   GENERATE_XPC_FAILURE(25)
#define NS_ERROR_XPC_JS_THREW_EXCEPTION   GENERATE_XPC_FAILURE(26)
#define NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT   GENERATE_XPC_FAILURE(27)
#define NS_ERROR_XPC_JS_THREW_JS_OBJECT   GENERATE_XPC_FAILURE(28)
#define NS_ERROR_XPC_JS_THREW_NULL   GENERATE_XPC_FAILURE(29)
#define NS_ERROR_XPC_JS_THREW_STRING   GENERATE_XPC_FAILURE(30)
#define NS_ERROR_XPC_JS_THREW_NUMBER   GENERATE_XPC_FAILURE(31)
#define NS_ERROR_XPC_JAVASCRIPT_ERROR   GENERATE_XPC_FAILURE(32)
#define NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS   GENERATE_XPC_FAILURE(33)
#define NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY   GENERATE_XPC_FAILURE(34)
#define NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY   GENERATE_XPC_FAILURE(35)
#define NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY   GENERATE_XPC_FAILURE(36)
#define NS_ERROR_XPC_CANT_GET_ARRAY_INFO   GENERATE_XPC_FAILURE(37)
#define NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING   GENERATE_XPC_FAILURE(38)
#define NS_ERROR_XPC_SECURITY_MANAGER_VETO   GENERATE_XPC_FAILURE(39)
#define NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE   GENERATE_XPC_FAILURE(40)
#define NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS   GENERATE_XPC_FAILURE(41)
#define NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT   GENERATE_XPC_FAILURE(42)
#define NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT   GENERATE_XPC_FAILURE(43)
#define NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE   GENERATE_XPC_FAILURE(44)
#define NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD   GENERATE_XPC_FAILURE(45)
#define NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE   GENERATE_XPC_FAILURE(46)
#define NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED   GENERATE_XPC_FAILURE(47)
#define NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED   GENERATE_XPC_FAILURE(48)
#define NS_ERROR_XPC_BAD_ID_STRING   GENERATE_XPC_FAILURE(49)
#define NS_ERROR_XPC_BAD_INITIALIZER_NAME   GENERATE_XPC_FAILURE(50)
#define NS_ERROR_XPC_HAS_BEEN_SHUTDOWN   GENERATE_XPC_FAILURE(51)
#define NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN   GENERATE_XPC_FAILURE(52)
#define NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL   GENERATE_XPC_FAILURE(53)
#define NS_XPCONNECT_CID

Functions

native JSContextPtr (JSContext)
native JSObjectPtr (JSObject)
native JSValPtr (jsval)
native JSVal (jsval)
native JSID (jsid)
native voidPtrPtr (void *)
const nsQueryInterface do_QueryWrappedNative (nsIXPConnectWrappedNative *aWrappedNative)
const nsQueryInterfaceWithError do_QueryWrappedNative (nsIXPConnectWrappedNative *aWrappedNative, nsresult *aError)

Define Documentation

Definition at line 73 of file nsIXPConnect.idl.

Definition at line 98 of file nsIXPConnect.idl.

Definition at line 84 of file nsIXPConnect.idl.

Definition at line 86 of file nsIXPConnect.idl.

Definition at line 128 of file nsIXPConnect.idl.

Definition at line 85 of file nsIXPConnect.idl.

Definition at line 124 of file nsIXPConnect.idl.

Definition at line 99 of file nsIXPConnect.idl.

Definition at line 125 of file nsIXPConnect.idl.

Definition at line 87 of file nsIXPConnect.idl.

Definition at line 122 of file nsIXPConnect.idl.

Definition at line 121 of file nsIXPConnect.idl.

Definition at line 94 of file nsIXPConnect.idl.

Definition at line 110 of file nsIXPConnect.idl.

Definition at line 109 of file nsIXPConnect.idl.

Definition at line 88 of file nsIXPConnect.idl.

Definition at line 100 of file nsIXPConnect.idl.

Definition at line 95 of file nsIXPConnect.idl.

Definition at line 89 of file nsIXPConnect.idl.

Definition at line 91 of file nsIXPConnect.idl.

Definition at line 112 of file nsIXPConnect.idl.

Definition at line 80 of file nsIXPConnect.idl.

Definition at line 117 of file nsIXPConnect.idl.

Definition at line 82 of file nsIXPConnect.idl.

Definition at line 81 of file nsIXPConnect.idl.

Definition at line 127 of file nsIXPConnect.idl.

Definition at line 78 of file nsIXPConnect.idl.

Definition at line 119 of file nsIXPConnect.idl.

Definition at line 118 of file nsIXPConnect.idl.

Definition at line 120 of file nsIXPConnect.idl.

Definition at line 90 of file nsIXPConnect.idl.

Definition at line 96 of file nsIXPConnect.idl.

Definition at line 97 of file nsIXPConnect.idl.

Definition at line 126 of file nsIXPConnect.idl.

Definition at line 116 of file nsIXPConnect.idl.

Definition at line 115 of file nsIXPConnect.idl.

Definition at line 107 of file nsIXPConnect.idl.

Definition at line 108 of file nsIXPConnect.idl.

Definition at line 101 of file nsIXPConnect.idl.

Definition at line 103 of file nsIXPConnect.idl.

Definition at line 102 of file nsIXPConnect.idl.

Definition at line 104 of file nsIXPConnect.idl.

Definition at line 106 of file nsIXPConnect.idl.

Definition at line 105 of file nsIXPConnect.idl.

Definition at line 123 of file nsIXPConnect.idl.

Definition at line 79 of file nsIXPConnect.idl.

Definition at line 77 of file nsIXPConnect.idl.

Definition at line 76 of file nsIXPConnect.idl.

Definition at line 113 of file nsIXPConnect.idl.

Definition at line 111 of file nsIXPConnect.idl.

Definition at line 92 of file nsIXPConnect.idl.

Definition at line 93 of file nsIXPConnect.idl.

Definition at line 114 of file nsIXPConnect.idl.

Definition at line 83 of file nsIXPConnect.idl.

Value:
{ 0xcb6593e0, 0xf9b2, 0x11d2, \
    { 0xbd, 0xd6, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }

Definition at line 443 of file nsIXPConnect.idl.


Function Documentation

const nsQueryInterface do_QueryWrappedNative ( nsIXPConnectWrappedNative aWrappedNative) [inline]

Definition at line 199 of file nsIXPConnect.idl.

{
    return nsQueryInterface(aWrappedNative->Native());
}
const nsQueryInterfaceWithError do_QueryWrappedNative ( nsIXPConnectWrappedNative aWrappedNative,
nsresult aError 
) [inline]

Definition at line 206 of file nsIXPConnect.idl.

{
    return nsQueryInterfaceWithError(aWrappedNative->Native(), aError);
}
native JSContextPtr ( JSContext  )
native JSID ( jsid  )
native JSObjectPtr ( JSObject  )
native JSVal ( jsval  )
native JSValPtr ( jsval  )
native voidPtrPtr ( void )