1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/js/xpconnect/tests/idl/xpctest_params.idl
3 : */
4 :
5 : #ifndef __gen_xpctest_params_h__
6 : #define __gen_xpctest_params_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #include "jspubtd.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 : class nsIXPCTestInterfaceA; /* forward declaration */
20 :
21 : class nsIXPCTestInterfaceB; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIXPCTestParams */
25 : #define NS_IXPCTESTPARAMS_IID_STR "fe2b7433-ac3b-49ef-9344-b67228bfdd46"
26 :
27 : #define NS_IXPCTESTPARAMS_IID \
28 : {0xfe2b7433, 0xac3b, 0x49ef, \
29 : { 0x93, 0x44, 0xb6, 0x72, 0x28, 0xbf, 0xdd, 0x46 }}
30 :
31 1 : class NS_NO_VTABLE NS_SCRIPTABLE nsIXPCTestParams : public nsISupports {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPCTESTPARAMS_IID)
35 :
36 : /* boolean testBoolean (in boolean a, inout boolean b); */
37 : NS_SCRIPTABLE NS_IMETHOD TestBoolean(bool a, bool *b NS_INOUTPARAM, bool *_retval NS_OUTPARAM) = 0;
38 :
39 : /* octet testOctet (in octet a, inout octet b); */
40 : NS_SCRIPTABLE NS_IMETHOD TestOctet(PRUint8 a, PRUint8 *b NS_INOUTPARAM, PRUint8 *_retval NS_OUTPARAM) = 0;
41 :
42 : /* short testShort (in short a, inout short b); */
43 : NS_SCRIPTABLE NS_IMETHOD TestShort(PRInt16 a, PRInt16 *b NS_INOUTPARAM, PRInt16 *_retval NS_OUTPARAM) = 0;
44 :
45 : /* long testLong (in long a, inout long b); */
46 : NS_SCRIPTABLE NS_IMETHOD TestLong(PRInt32 a, PRInt32 *b NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM) = 0;
47 :
48 : /* long long testLongLong (in long long a, inout long long b); */
49 : NS_SCRIPTABLE NS_IMETHOD TestLongLong(PRInt64 a, PRInt64 *b NS_INOUTPARAM, PRInt64 *_retval NS_OUTPARAM) = 0;
50 :
51 : /* unsigned short testUnsignedShort (in unsigned short a, inout unsigned short b); */
52 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedShort(PRUint16 a, PRUint16 *b NS_INOUTPARAM, PRUint16 *_retval NS_OUTPARAM) = 0;
53 :
54 : /* unsigned long testUnsignedLong (in unsigned long a, inout unsigned long b); */
55 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLong(PRUint32 a, PRUint32 *b NS_INOUTPARAM, PRUint32 *_retval NS_OUTPARAM) = 0;
56 :
57 : /* unsigned long long testUnsignedLongLong (in unsigned long long a, inout unsigned long long b); */
58 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLongLong(PRUint64 a, PRUint64 *b NS_INOUTPARAM, PRUint64 *_retval NS_OUTPARAM) = 0;
59 :
60 : /* float testFloat (in float a, inout float b); */
61 : NS_SCRIPTABLE NS_IMETHOD TestFloat(float a, float *b NS_INOUTPARAM, float *_retval NS_OUTPARAM) = 0;
62 :
63 : /* double testDouble (in double a, inout float b); */
64 : NS_SCRIPTABLE NS_IMETHOD TestDouble(double a, float *b NS_INOUTPARAM, double *_retval NS_OUTPARAM) = 0;
65 :
66 : /* char testChar (in char a, inout char b); */
67 : NS_SCRIPTABLE NS_IMETHOD TestChar(char a, char *b NS_INOUTPARAM, char *_retval NS_OUTPARAM) = 0;
68 :
69 : /* string testString (in string a, inout string b); */
70 : NS_SCRIPTABLE NS_IMETHOD TestString(const char * a, char * *b NS_INOUTPARAM, char * *_retval NS_OUTPARAM) = 0;
71 :
72 : /* wchar testWchar (in wchar a, inout wchar b); */
73 : NS_SCRIPTABLE NS_IMETHOD TestWchar(PRUnichar a, PRUnichar *b NS_INOUTPARAM, PRUnichar *_retval NS_OUTPARAM) = 0;
74 :
75 : /* wstring testWstring (in wstring a, inout wstring b); */
76 : NS_SCRIPTABLE NS_IMETHOD TestWstring(const PRUnichar * a, PRUnichar * *b NS_INOUTPARAM, PRUnichar * *_retval NS_OUTPARAM) = 0;
77 :
78 : /* DOMString testDOMString (in DOMString a, inout DOMString b); */
79 : NS_SCRIPTABLE NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM) = 0;
80 :
81 : /* AString testAString (in AString a, inout AString b); */
82 : NS_SCRIPTABLE NS_IMETHOD TestAString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM) = 0;
83 :
84 : /* AUTF8String testAUTF8String (in AUTF8String a, inout AUTF8String b); */
85 : NS_SCRIPTABLE NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM) = 0;
86 :
87 : /* ACString testACString (in ACString a, inout ACString b); */
88 : NS_SCRIPTABLE NS_IMETHOD TestACString(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM) = 0;
89 :
90 : /* jsval testJsval (in jsval a, inout jsval b); */
91 : NS_SCRIPTABLE NS_IMETHOD TestJsval(const JS::Value & a, JS::Value & b NS_INOUTPARAM, JS::Value *_retval NS_OUTPARAM) = 0;
92 :
93 : /* void testShortArray (in unsigned long aLength, [array, size_is (aLength)] in short a, inout unsigned long bLength, [array, size_is (bLength)] inout short b, out unsigned long rvLength, [array, size_is (rvLength), retval] out short rv); */
94 : NS_SCRIPTABLE NS_IMETHOD TestShortArray(PRUint32 aLength, PRInt16 *a, PRUint32 *bLength NS_INOUTPARAM, PRInt16 **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRInt16 **rv NS_OUTPARAM) = 0;
95 :
96 : /* void testDoubleArray (in unsigned long aLength, [array, size_is (aLength)] in double a, inout unsigned long bLength, [array, size_is (bLength)] inout double b, out unsigned long rvLength, [array, size_is (rvLength), retval] out double rv); */
97 : NS_SCRIPTABLE NS_IMETHOD TestDoubleArray(PRUint32 aLength, double *a, PRUint32 *bLength NS_INOUTPARAM, double **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, double **rv NS_OUTPARAM) = 0;
98 :
99 : /* void testStringArray (in unsigned long aLength, [array, size_is (aLength)] in string a, inout unsigned long bLength, [array, size_is (bLength)] inout string b, out unsigned long rvLength, [array, size_is (rvLength), retval] out string rv); */
100 : NS_SCRIPTABLE NS_IMETHOD TestStringArray(PRUint32 aLength, const char * *a, PRUint32 *bLength NS_INOUTPARAM, char * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * **rv NS_OUTPARAM) = 0;
101 :
102 : /* void testWstringArray (in unsigned long aLength, [array, size_is (aLength)] in wstring a, inout unsigned long bLength, [array, size_is (bLength)] inout wstring b, out unsigned long rvLength, [array, size_is (rvLength), retval] out wstring rv); */
103 : NS_SCRIPTABLE NS_IMETHOD TestWstringArray(PRUint32 aLength, const PRUnichar * *a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * **rv NS_OUTPARAM) = 0;
104 :
105 : /* void testInterfaceArray (in unsigned long aLength, [array, size_is (aLength)] in nsIXPCTestInterfaceA a, inout unsigned long bLength, [array, size_is (bLength)] inout nsIXPCTestInterfaceA b, out unsigned long rvLength, [array, size_is (rvLength), retval] out nsIXPCTestInterfaceA rv); */
106 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceArray(PRUint32 aLength, nsIXPCTestInterfaceA **a, PRUint32 *bLength NS_INOUTPARAM, nsIXPCTestInterfaceA * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIXPCTestInterfaceA * **rv NS_OUTPARAM) = 0;
107 :
108 : /* void testSizedString (in unsigned long aLength, [size_is (aLength)] in string a, inout unsigned long bLength, [size_is (bLength)] inout string b, out unsigned long rvLength, [size_is (rvLength), retval] out string rv); */
109 : NS_SCRIPTABLE NS_IMETHOD TestSizedString(PRUint32 aLength, const char * a, PRUint32 *bLength NS_INOUTPARAM, char * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * *rv NS_OUTPARAM) = 0;
110 :
111 : /* void testSizedWstring (in unsigned long aLength, [size_is (aLength)] in wstring a, inout unsigned long bLength, [size_is (bLength)] inout wstring b, out unsigned long rvLength, [size_is (rvLength), retval] out wstring rv); */
112 : NS_SCRIPTABLE NS_IMETHOD TestSizedWstring(PRUint32 aLength, const PRUnichar * a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * *rv NS_OUTPARAM) = 0;
113 :
114 : /* void testInterfaceIs (in nsIIDPtr aIID, [iid_is (aIID)] in nsQIResult a, inout nsIIDPtr bIID, [iid_is (bIID)] inout nsQIResult b, out nsIIDPtr rvIID, [iid_is (rvIID), retval] out nsQIResult rv); */
115 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID NS_INOUTPARAM, void **b NS_INOUTPARAM, nsIID **rvIID NS_OUTPARAM, void **rv NS_OUTPARAM) = 0;
116 :
117 : /* void testInterfaceIsArray (in unsigned long aLength, in nsIIDPtr aIID, [array, size_is (aLength), iid_is (aIID)] in nsQIResult a, inout unsigned long bLength, inout nsIIDPtr bIID, [array, size_is (bLength), iid_is (bIID)] inout nsQIResult b, out unsigned long rvLength, out nsIIDPtr rvIID, [retval, array, size_is (rvLength), iid_is (rvIID)] out nsQIResult rv); */
118 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIsArray(PRUint32 aLength, const nsIID *aIID, void **a, PRUint32 *bLength NS_INOUTPARAM, nsIID **bIID NS_INOUTPARAM, void ***b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIID **rvIID NS_OUTPARAM, void ***rv NS_OUTPARAM) = 0;
119 :
120 : };
121 :
122 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPCTestParams, NS_IXPCTESTPARAMS_IID)
123 :
124 : /* Use this macro when declaring classes that implement this interface. */
125 : #define NS_DECL_NSIXPCTESTPARAMS \
126 : NS_SCRIPTABLE NS_IMETHOD TestBoolean(bool a, bool *b NS_INOUTPARAM, bool *_retval NS_OUTPARAM); \
127 : NS_SCRIPTABLE NS_IMETHOD TestOctet(PRUint8 a, PRUint8 *b NS_INOUTPARAM, PRUint8 *_retval NS_OUTPARAM); \
128 : NS_SCRIPTABLE NS_IMETHOD TestShort(PRInt16 a, PRInt16 *b NS_INOUTPARAM, PRInt16 *_retval NS_OUTPARAM); \
129 : NS_SCRIPTABLE NS_IMETHOD TestLong(PRInt32 a, PRInt32 *b NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM); \
130 : NS_SCRIPTABLE NS_IMETHOD TestLongLong(PRInt64 a, PRInt64 *b NS_INOUTPARAM, PRInt64 *_retval NS_OUTPARAM); \
131 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedShort(PRUint16 a, PRUint16 *b NS_INOUTPARAM, PRUint16 *_retval NS_OUTPARAM); \
132 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLong(PRUint32 a, PRUint32 *b NS_INOUTPARAM, PRUint32 *_retval NS_OUTPARAM); \
133 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLongLong(PRUint64 a, PRUint64 *b NS_INOUTPARAM, PRUint64 *_retval NS_OUTPARAM); \
134 : NS_SCRIPTABLE NS_IMETHOD TestFloat(float a, float *b NS_INOUTPARAM, float *_retval NS_OUTPARAM); \
135 : NS_SCRIPTABLE NS_IMETHOD TestDouble(double a, float *b NS_INOUTPARAM, double *_retval NS_OUTPARAM); \
136 : NS_SCRIPTABLE NS_IMETHOD TestChar(char a, char *b NS_INOUTPARAM, char *_retval NS_OUTPARAM); \
137 : NS_SCRIPTABLE NS_IMETHOD TestString(const char * a, char * *b NS_INOUTPARAM, char * *_retval NS_OUTPARAM); \
138 : NS_SCRIPTABLE NS_IMETHOD TestWchar(PRUnichar a, PRUnichar *b NS_INOUTPARAM, PRUnichar *_retval NS_OUTPARAM); \
139 : NS_SCRIPTABLE NS_IMETHOD TestWstring(const PRUnichar * a, PRUnichar * *b NS_INOUTPARAM, PRUnichar * *_retval NS_OUTPARAM); \
140 : NS_SCRIPTABLE NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM); \
141 : NS_SCRIPTABLE NS_IMETHOD TestAString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM); \
142 : NS_SCRIPTABLE NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM); \
143 : NS_SCRIPTABLE NS_IMETHOD TestACString(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM); \
144 : NS_SCRIPTABLE NS_IMETHOD TestJsval(const JS::Value & a, JS::Value & b NS_INOUTPARAM, JS::Value *_retval NS_OUTPARAM); \
145 : NS_SCRIPTABLE NS_IMETHOD TestShortArray(PRUint32 aLength, PRInt16 *a, PRUint32 *bLength NS_INOUTPARAM, PRInt16 **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRInt16 **rv NS_OUTPARAM); \
146 : NS_SCRIPTABLE NS_IMETHOD TestDoubleArray(PRUint32 aLength, double *a, PRUint32 *bLength NS_INOUTPARAM, double **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, double **rv NS_OUTPARAM); \
147 : NS_SCRIPTABLE NS_IMETHOD TestStringArray(PRUint32 aLength, const char * *a, PRUint32 *bLength NS_INOUTPARAM, char * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * **rv NS_OUTPARAM); \
148 : NS_SCRIPTABLE NS_IMETHOD TestWstringArray(PRUint32 aLength, const PRUnichar * *a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * **rv NS_OUTPARAM); \
149 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceArray(PRUint32 aLength, nsIXPCTestInterfaceA **a, PRUint32 *bLength NS_INOUTPARAM, nsIXPCTestInterfaceA * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIXPCTestInterfaceA * **rv NS_OUTPARAM); \
150 : NS_SCRIPTABLE NS_IMETHOD TestSizedString(PRUint32 aLength, const char * a, PRUint32 *bLength NS_INOUTPARAM, char * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * *rv NS_OUTPARAM); \
151 : NS_SCRIPTABLE NS_IMETHOD TestSizedWstring(PRUint32 aLength, const PRUnichar * a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * *rv NS_OUTPARAM); \
152 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID NS_INOUTPARAM, void **b NS_INOUTPARAM, nsIID **rvIID NS_OUTPARAM, void **rv NS_OUTPARAM); \
153 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIsArray(PRUint32 aLength, const nsIID *aIID, void **a, PRUint32 *bLength NS_INOUTPARAM, nsIID **bIID NS_INOUTPARAM, void ***b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIID **rvIID NS_OUTPARAM, void ***rv NS_OUTPARAM);
154 :
155 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
156 : #define NS_FORWARD_NSIXPCTESTPARAMS(_to) \
157 : NS_SCRIPTABLE NS_IMETHOD TestBoolean(bool a, bool *b NS_INOUTPARAM, bool *_retval NS_OUTPARAM) { return _to TestBoolean(a, b, _retval); } \
158 : NS_SCRIPTABLE NS_IMETHOD TestOctet(PRUint8 a, PRUint8 *b NS_INOUTPARAM, PRUint8 *_retval NS_OUTPARAM) { return _to TestOctet(a, b, _retval); } \
159 : NS_SCRIPTABLE NS_IMETHOD TestShort(PRInt16 a, PRInt16 *b NS_INOUTPARAM, PRInt16 *_retval NS_OUTPARAM) { return _to TestShort(a, b, _retval); } \
160 : NS_SCRIPTABLE NS_IMETHOD TestLong(PRInt32 a, PRInt32 *b NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM) { return _to TestLong(a, b, _retval); } \
161 : NS_SCRIPTABLE NS_IMETHOD TestLongLong(PRInt64 a, PRInt64 *b NS_INOUTPARAM, PRInt64 *_retval NS_OUTPARAM) { return _to TestLongLong(a, b, _retval); } \
162 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedShort(PRUint16 a, PRUint16 *b NS_INOUTPARAM, PRUint16 *_retval NS_OUTPARAM) { return _to TestUnsignedShort(a, b, _retval); } \
163 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLong(PRUint32 a, PRUint32 *b NS_INOUTPARAM, PRUint32 *_retval NS_OUTPARAM) { return _to TestUnsignedLong(a, b, _retval); } \
164 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLongLong(PRUint64 a, PRUint64 *b NS_INOUTPARAM, PRUint64 *_retval NS_OUTPARAM) { return _to TestUnsignedLongLong(a, b, _retval); } \
165 : NS_SCRIPTABLE NS_IMETHOD TestFloat(float a, float *b NS_INOUTPARAM, float *_retval NS_OUTPARAM) { return _to TestFloat(a, b, _retval); } \
166 : NS_SCRIPTABLE NS_IMETHOD TestDouble(double a, float *b NS_INOUTPARAM, double *_retval NS_OUTPARAM) { return _to TestDouble(a, b, _retval); } \
167 : NS_SCRIPTABLE NS_IMETHOD TestChar(char a, char *b NS_INOUTPARAM, char *_retval NS_OUTPARAM) { return _to TestChar(a, b, _retval); } \
168 : NS_SCRIPTABLE NS_IMETHOD TestString(const char * a, char * *b NS_INOUTPARAM, char * *_retval NS_OUTPARAM) { return _to TestString(a, b, _retval); } \
169 : NS_SCRIPTABLE NS_IMETHOD TestWchar(PRUnichar a, PRUnichar *b NS_INOUTPARAM, PRUnichar *_retval NS_OUTPARAM) { return _to TestWchar(a, b, _retval); } \
170 : NS_SCRIPTABLE NS_IMETHOD TestWstring(const PRUnichar * a, PRUnichar * *b NS_INOUTPARAM, PRUnichar * *_retval NS_OUTPARAM) { return _to TestWstring(a, b, _retval); } \
171 : NS_SCRIPTABLE NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM) { return _to TestDOMString(a, b, _retval); } \
172 : NS_SCRIPTABLE NS_IMETHOD TestAString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM) { return _to TestAString(a, b, _retval); } \
173 : NS_SCRIPTABLE NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM) { return _to TestAUTF8String(a, b, _retval); } \
174 : NS_SCRIPTABLE NS_IMETHOD TestACString(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM) { return _to TestACString(a, b, _retval); } \
175 : NS_SCRIPTABLE NS_IMETHOD TestJsval(const JS::Value & a, JS::Value & b NS_INOUTPARAM, JS::Value *_retval NS_OUTPARAM) { return _to TestJsval(a, b, _retval); } \
176 : NS_SCRIPTABLE NS_IMETHOD TestShortArray(PRUint32 aLength, PRInt16 *a, PRUint32 *bLength NS_INOUTPARAM, PRInt16 **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRInt16 **rv NS_OUTPARAM) { return _to TestShortArray(aLength, a, bLength, b, rvLength, rv); } \
177 : NS_SCRIPTABLE NS_IMETHOD TestDoubleArray(PRUint32 aLength, double *a, PRUint32 *bLength NS_INOUTPARAM, double **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, double **rv NS_OUTPARAM) { return _to TestDoubleArray(aLength, a, bLength, b, rvLength, rv); } \
178 : NS_SCRIPTABLE NS_IMETHOD TestStringArray(PRUint32 aLength, const char * *a, PRUint32 *bLength NS_INOUTPARAM, char * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * **rv NS_OUTPARAM) { return _to TestStringArray(aLength, a, bLength, b, rvLength, rv); } \
179 : NS_SCRIPTABLE NS_IMETHOD TestWstringArray(PRUint32 aLength, const PRUnichar * *a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * **rv NS_OUTPARAM) { return _to TestWstringArray(aLength, a, bLength, b, rvLength, rv); } \
180 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceArray(PRUint32 aLength, nsIXPCTestInterfaceA **a, PRUint32 *bLength NS_INOUTPARAM, nsIXPCTestInterfaceA * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIXPCTestInterfaceA * **rv NS_OUTPARAM) { return _to TestInterfaceArray(aLength, a, bLength, b, rvLength, rv); } \
181 : NS_SCRIPTABLE NS_IMETHOD TestSizedString(PRUint32 aLength, const char * a, PRUint32 *bLength NS_INOUTPARAM, char * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * *rv NS_OUTPARAM) { return _to TestSizedString(aLength, a, bLength, b, rvLength, rv); } \
182 : NS_SCRIPTABLE NS_IMETHOD TestSizedWstring(PRUint32 aLength, const PRUnichar * a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * *rv NS_OUTPARAM) { return _to TestSizedWstring(aLength, a, bLength, b, rvLength, rv); } \
183 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID NS_INOUTPARAM, void **b NS_INOUTPARAM, nsIID **rvIID NS_OUTPARAM, void **rv NS_OUTPARAM) { return _to TestInterfaceIs(aIID, a, bIID, b, rvIID, rv); } \
184 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIsArray(PRUint32 aLength, const nsIID *aIID, void **a, PRUint32 *bLength NS_INOUTPARAM, nsIID **bIID NS_INOUTPARAM, void ***b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIID **rvIID NS_OUTPARAM, void ***rv NS_OUTPARAM) { return _to TestInterfaceIsArray(aLength, aIID, a, bLength, bIID, b, rvLength, rvIID, rv); }
185 :
186 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
187 : #define NS_FORWARD_SAFE_NSIXPCTESTPARAMS(_to) \
188 : NS_SCRIPTABLE NS_IMETHOD TestBoolean(bool a, bool *b NS_INOUTPARAM, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestBoolean(a, b, _retval); } \
189 : NS_SCRIPTABLE NS_IMETHOD TestOctet(PRUint8 a, PRUint8 *b NS_INOUTPARAM, PRUint8 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestOctet(a, b, _retval); } \
190 : NS_SCRIPTABLE NS_IMETHOD TestShort(PRInt16 a, PRInt16 *b NS_INOUTPARAM, PRInt16 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestShort(a, b, _retval); } \
191 : NS_SCRIPTABLE NS_IMETHOD TestLong(PRInt32 a, PRInt32 *b NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestLong(a, b, _retval); } \
192 : NS_SCRIPTABLE NS_IMETHOD TestLongLong(PRInt64 a, PRInt64 *b NS_INOUTPARAM, PRInt64 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestLongLong(a, b, _retval); } \
193 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedShort(PRUint16 a, PRUint16 *b NS_INOUTPARAM, PRUint16 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestUnsignedShort(a, b, _retval); } \
194 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLong(PRUint32 a, PRUint32 *b NS_INOUTPARAM, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestUnsignedLong(a, b, _retval); } \
195 : NS_SCRIPTABLE NS_IMETHOD TestUnsignedLongLong(PRUint64 a, PRUint64 *b NS_INOUTPARAM, PRUint64 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestUnsignedLongLong(a, b, _retval); } \
196 : NS_SCRIPTABLE NS_IMETHOD TestFloat(float a, float *b NS_INOUTPARAM, float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestFloat(a, b, _retval); } \
197 : NS_SCRIPTABLE NS_IMETHOD TestDouble(double a, float *b NS_INOUTPARAM, double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestDouble(a, b, _retval); } \
198 : NS_SCRIPTABLE NS_IMETHOD TestChar(char a, char *b NS_INOUTPARAM, char *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestChar(a, b, _retval); } \
199 : NS_SCRIPTABLE NS_IMETHOD TestString(const char * a, char * *b NS_INOUTPARAM, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestString(a, b, _retval); } \
200 : NS_SCRIPTABLE NS_IMETHOD TestWchar(PRUnichar a, PRUnichar *b NS_INOUTPARAM, PRUnichar *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestWchar(a, b, _retval); } \
201 : NS_SCRIPTABLE NS_IMETHOD TestWstring(const PRUnichar * a, PRUnichar * *b NS_INOUTPARAM, PRUnichar * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestWstring(a, b, _retval); } \
202 : NS_SCRIPTABLE NS_IMETHOD TestDOMString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestDOMString(a, b, _retval); } \
203 : NS_SCRIPTABLE NS_IMETHOD TestAString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestAString(a, b, _retval); } \
204 : NS_SCRIPTABLE NS_IMETHOD TestAUTF8String(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestAUTF8String(a, b, _retval); } \
205 : NS_SCRIPTABLE NS_IMETHOD TestACString(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestACString(a, b, _retval); } \
206 : NS_SCRIPTABLE NS_IMETHOD TestJsval(const JS::Value & a, JS::Value & b NS_INOUTPARAM, JS::Value *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestJsval(a, b, _retval); } \
207 : NS_SCRIPTABLE NS_IMETHOD TestShortArray(PRUint32 aLength, PRInt16 *a, PRUint32 *bLength NS_INOUTPARAM, PRInt16 **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRInt16 **rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestShortArray(aLength, a, bLength, b, rvLength, rv); } \
208 : NS_SCRIPTABLE NS_IMETHOD TestDoubleArray(PRUint32 aLength, double *a, PRUint32 *bLength NS_INOUTPARAM, double **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, double **rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestDoubleArray(aLength, a, bLength, b, rvLength, rv); } \
209 : NS_SCRIPTABLE NS_IMETHOD TestStringArray(PRUint32 aLength, const char * *a, PRUint32 *bLength NS_INOUTPARAM, char * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * **rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestStringArray(aLength, a, bLength, b, rvLength, rv); } \
210 : NS_SCRIPTABLE NS_IMETHOD TestWstringArray(PRUint32 aLength, const PRUnichar * *a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * **rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestWstringArray(aLength, a, bLength, b, rvLength, rv); } \
211 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceArray(PRUint32 aLength, nsIXPCTestInterfaceA **a, PRUint32 *bLength NS_INOUTPARAM, nsIXPCTestInterfaceA * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIXPCTestInterfaceA * **rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestInterfaceArray(aLength, a, bLength, b, rvLength, rv); } \
212 : NS_SCRIPTABLE NS_IMETHOD TestSizedString(PRUint32 aLength, const char * a, PRUint32 *bLength NS_INOUTPARAM, char * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * *rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestSizedString(aLength, a, bLength, b, rvLength, rv); } \
213 : NS_SCRIPTABLE NS_IMETHOD TestSizedWstring(PRUint32 aLength, const PRUnichar * a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * *rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestSizedWstring(aLength, a, bLength, b, rvLength, rv); } \
214 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID NS_INOUTPARAM, void **b NS_INOUTPARAM, nsIID **rvIID NS_OUTPARAM, void **rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestInterfaceIs(aIID, a, bIID, b, rvIID, rv); } \
215 : NS_SCRIPTABLE NS_IMETHOD TestInterfaceIsArray(PRUint32 aLength, const nsIID *aIID, void **a, PRUint32 *bLength NS_INOUTPARAM, nsIID **bIID NS_INOUTPARAM, void ***b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIID **rvIID NS_OUTPARAM, void ***rv NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestInterfaceIsArray(aLength, aIID, a, bLength, bIID, b, rvLength, rvIID, rv); }
216 :
217 : #if 0
218 : /* Use the code below as a template for the implementation class for this interface. */
219 :
220 : /* Header file */
221 : class nsXPCTestParams : public nsIXPCTestParams
222 : {
223 : public:
224 : NS_DECL_ISUPPORTS
225 : NS_DECL_NSIXPCTESTPARAMS
226 :
227 : nsXPCTestParams();
228 :
229 : private:
230 : ~nsXPCTestParams();
231 :
232 : protected:
233 : /* additional members */
234 : };
235 :
236 : /* Implementation file */
237 : NS_IMPL_ISUPPORTS1(nsXPCTestParams, nsIXPCTestParams)
238 :
239 : nsXPCTestParams::nsXPCTestParams()
240 : {
241 : /* member initializers and constructor code */
242 : }
243 :
244 : nsXPCTestParams::~nsXPCTestParams()
245 : {
246 : /* destructor code */
247 : }
248 :
249 : /* boolean testBoolean (in boolean a, inout boolean b); */
250 : NS_IMETHODIMP nsXPCTestParams::TestBoolean(bool a, bool *b NS_INOUTPARAM, bool *_retval NS_OUTPARAM)
251 : {
252 : return NS_ERROR_NOT_IMPLEMENTED;
253 : }
254 :
255 : /* octet testOctet (in octet a, inout octet b); */
256 : NS_IMETHODIMP nsXPCTestParams::TestOctet(PRUint8 a, PRUint8 *b NS_INOUTPARAM, PRUint8 *_retval NS_OUTPARAM)
257 : {
258 : return NS_ERROR_NOT_IMPLEMENTED;
259 : }
260 :
261 : /* short testShort (in short a, inout short b); */
262 : NS_IMETHODIMP nsXPCTestParams::TestShort(PRInt16 a, PRInt16 *b NS_INOUTPARAM, PRInt16 *_retval NS_OUTPARAM)
263 : {
264 : return NS_ERROR_NOT_IMPLEMENTED;
265 : }
266 :
267 : /* long testLong (in long a, inout long b); */
268 : NS_IMETHODIMP nsXPCTestParams::TestLong(PRInt32 a, PRInt32 *b NS_INOUTPARAM, PRInt32 *_retval NS_OUTPARAM)
269 : {
270 : return NS_ERROR_NOT_IMPLEMENTED;
271 : }
272 :
273 : /* long long testLongLong (in long long a, inout long long b); */
274 : NS_IMETHODIMP nsXPCTestParams::TestLongLong(PRInt64 a, PRInt64 *b NS_INOUTPARAM, PRInt64 *_retval NS_OUTPARAM)
275 : {
276 : return NS_ERROR_NOT_IMPLEMENTED;
277 : }
278 :
279 : /* unsigned short testUnsignedShort (in unsigned short a, inout unsigned short b); */
280 : NS_IMETHODIMP nsXPCTestParams::TestUnsignedShort(PRUint16 a, PRUint16 *b NS_INOUTPARAM, PRUint16 *_retval NS_OUTPARAM)
281 : {
282 : return NS_ERROR_NOT_IMPLEMENTED;
283 : }
284 :
285 : /* unsigned long testUnsignedLong (in unsigned long a, inout unsigned long b); */
286 : NS_IMETHODIMP nsXPCTestParams::TestUnsignedLong(PRUint32 a, PRUint32 *b NS_INOUTPARAM, PRUint32 *_retval NS_OUTPARAM)
287 : {
288 : return NS_ERROR_NOT_IMPLEMENTED;
289 : }
290 :
291 : /* unsigned long long testUnsignedLongLong (in unsigned long long a, inout unsigned long long b); */
292 : NS_IMETHODIMP nsXPCTestParams::TestUnsignedLongLong(PRUint64 a, PRUint64 *b NS_INOUTPARAM, PRUint64 *_retval NS_OUTPARAM)
293 : {
294 : return NS_ERROR_NOT_IMPLEMENTED;
295 : }
296 :
297 : /* float testFloat (in float a, inout float b); */
298 : NS_IMETHODIMP nsXPCTestParams::TestFloat(float a, float *b NS_INOUTPARAM, float *_retval NS_OUTPARAM)
299 : {
300 : return NS_ERROR_NOT_IMPLEMENTED;
301 : }
302 :
303 : /* double testDouble (in double a, inout float b); */
304 : NS_IMETHODIMP nsXPCTestParams::TestDouble(double a, float *b NS_INOUTPARAM, double *_retval NS_OUTPARAM)
305 : {
306 : return NS_ERROR_NOT_IMPLEMENTED;
307 : }
308 :
309 : /* char testChar (in char a, inout char b); */
310 : NS_IMETHODIMP nsXPCTestParams::TestChar(char a, char *b NS_INOUTPARAM, char *_retval NS_OUTPARAM)
311 : {
312 : return NS_ERROR_NOT_IMPLEMENTED;
313 : }
314 :
315 : /* string testString (in string a, inout string b); */
316 : NS_IMETHODIMP nsXPCTestParams::TestString(const char * a, char * *b NS_INOUTPARAM, char * *_retval NS_OUTPARAM)
317 : {
318 : return NS_ERROR_NOT_IMPLEMENTED;
319 : }
320 :
321 : /* wchar testWchar (in wchar a, inout wchar b); */
322 : NS_IMETHODIMP nsXPCTestParams::TestWchar(PRUnichar a, PRUnichar *b NS_INOUTPARAM, PRUnichar *_retval NS_OUTPARAM)
323 : {
324 : return NS_ERROR_NOT_IMPLEMENTED;
325 : }
326 :
327 : /* wstring testWstring (in wstring a, inout wstring b); */
328 : NS_IMETHODIMP nsXPCTestParams::TestWstring(const PRUnichar * a, PRUnichar * *b NS_INOUTPARAM, PRUnichar * *_retval NS_OUTPARAM)
329 : {
330 : return NS_ERROR_NOT_IMPLEMENTED;
331 : }
332 :
333 : /* DOMString testDOMString (in DOMString a, inout DOMString b); */
334 : NS_IMETHODIMP nsXPCTestParams::TestDOMString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM)
335 : {
336 : return NS_ERROR_NOT_IMPLEMENTED;
337 : }
338 :
339 : /* AString testAString (in AString a, inout AString b); */
340 : NS_IMETHODIMP nsXPCTestParams::TestAString(const nsAString & a, nsAString & b NS_INOUTPARAM, nsAString & _retval NS_OUTPARAM)
341 : {
342 : return NS_ERROR_NOT_IMPLEMENTED;
343 : }
344 :
345 : /* AUTF8String testAUTF8String (in AUTF8String a, inout AUTF8String b); */
346 : NS_IMETHODIMP nsXPCTestParams::TestAUTF8String(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM)
347 : {
348 : return NS_ERROR_NOT_IMPLEMENTED;
349 : }
350 :
351 : /* ACString testACString (in ACString a, inout ACString b); */
352 : NS_IMETHODIMP nsXPCTestParams::TestACString(const nsACString & a, nsACString & b NS_INOUTPARAM, nsACString & _retval NS_OUTPARAM)
353 : {
354 : return NS_ERROR_NOT_IMPLEMENTED;
355 : }
356 :
357 : /* jsval testJsval (in jsval a, inout jsval b); */
358 : NS_IMETHODIMP nsXPCTestParams::TestJsval(const JS::Value & a, JS::Value & b NS_INOUTPARAM, JS::Value *_retval NS_OUTPARAM)
359 : {
360 : return NS_ERROR_NOT_IMPLEMENTED;
361 : }
362 :
363 : /* void testShortArray (in unsigned long aLength, [array, size_is (aLength)] in short a, inout unsigned long bLength, [array, size_is (bLength)] inout short b, out unsigned long rvLength, [array, size_is (rvLength), retval] out short rv); */
364 : NS_IMETHODIMP nsXPCTestParams::TestShortArray(PRUint32 aLength, PRInt16 *a, PRUint32 *bLength NS_INOUTPARAM, PRInt16 **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRInt16 **rv NS_OUTPARAM)
365 : {
366 : return NS_ERROR_NOT_IMPLEMENTED;
367 : }
368 :
369 : /* void testDoubleArray (in unsigned long aLength, [array, size_is (aLength)] in double a, inout unsigned long bLength, [array, size_is (bLength)] inout double b, out unsigned long rvLength, [array, size_is (rvLength), retval] out double rv); */
370 : NS_IMETHODIMP nsXPCTestParams::TestDoubleArray(PRUint32 aLength, double *a, PRUint32 *bLength NS_INOUTPARAM, double **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, double **rv NS_OUTPARAM)
371 : {
372 : return NS_ERROR_NOT_IMPLEMENTED;
373 : }
374 :
375 : /* void testStringArray (in unsigned long aLength, [array, size_is (aLength)] in string a, inout unsigned long bLength, [array, size_is (bLength)] inout string b, out unsigned long rvLength, [array, size_is (rvLength), retval] out string rv); */
376 : NS_IMETHODIMP nsXPCTestParams::TestStringArray(PRUint32 aLength, const char * *a, PRUint32 *bLength NS_INOUTPARAM, char * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * **rv NS_OUTPARAM)
377 : {
378 : return NS_ERROR_NOT_IMPLEMENTED;
379 : }
380 :
381 : /* void testWstringArray (in unsigned long aLength, [array, size_is (aLength)] in wstring a, inout unsigned long bLength, [array, size_is (bLength)] inout wstring b, out unsigned long rvLength, [array, size_is (rvLength), retval] out wstring rv); */
382 : NS_IMETHODIMP nsXPCTestParams::TestWstringArray(PRUint32 aLength, const PRUnichar * *a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * **rv NS_OUTPARAM)
383 : {
384 : return NS_ERROR_NOT_IMPLEMENTED;
385 : }
386 :
387 : /* void testInterfaceArray (in unsigned long aLength, [array, size_is (aLength)] in nsIXPCTestInterfaceA a, inout unsigned long bLength, [array, size_is (bLength)] inout nsIXPCTestInterfaceA b, out unsigned long rvLength, [array, size_is (rvLength), retval] out nsIXPCTestInterfaceA rv); */
388 : NS_IMETHODIMP nsXPCTestParams::TestInterfaceArray(PRUint32 aLength, nsIXPCTestInterfaceA **a, PRUint32 *bLength NS_INOUTPARAM, nsIXPCTestInterfaceA * **b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIXPCTestInterfaceA * **rv NS_OUTPARAM)
389 : {
390 : return NS_ERROR_NOT_IMPLEMENTED;
391 : }
392 :
393 : /* void testSizedString (in unsigned long aLength, [size_is (aLength)] in string a, inout unsigned long bLength, [size_is (bLength)] inout string b, out unsigned long rvLength, [size_is (rvLength), retval] out string rv); */
394 : NS_IMETHODIMP nsXPCTestParams::TestSizedString(PRUint32 aLength, const char * a, PRUint32 *bLength NS_INOUTPARAM, char * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, char * *rv NS_OUTPARAM)
395 : {
396 : return NS_ERROR_NOT_IMPLEMENTED;
397 : }
398 :
399 : /* void testSizedWstring (in unsigned long aLength, [size_is (aLength)] in wstring a, inout unsigned long bLength, [size_is (bLength)] inout wstring b, out unsigned long rvLength, [size_is (rvLength), retval] out wstring rv); */
400 : NS_IMETHODIMP nsXPCTestParams::TestSizedWstring(PRUint32 aLength, const PRUnichar * a, PRUint32 *bLength NS_INOUTPARAM, PRUnichar * *b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, PRUnichar * *rv NS_OUTPARAM)
401 : {
402 : return NS_ERROR_NOT_IMPLEMENTED;
403 : }
404 :
405 : /* void testInterfaceIs (in nsIIDPtr aIID, [iid_is (aIID)] in nsQIResult a, inout nsIIDPtr bIID, [iid_is (bIID)] inout nsQIResult b, out nsIIDPtr rvIID, [iid_is (rvIID), retval] out nsQIResult rv); */
406 : NS_IMETHODIMP nsXPCTestParams::TestInterfaceIs(const nsIID *aIID, void *a, nsIID **bIID NS_INOUTPARAM, void **b NS_INOUTPARAM, nsIID **rvIID NS_OUTPARAM, void **rv NS_OUTPARAM)
407 : {
408 : return NS_ERROR_NOT_IMPLEMENTED;
409 : }
410 :
411 : /* void testInterfaceIsArray (in unsigned long aLength, in nsIIDPtr aIID, [array, size_is (aLength), iid_is (aIID)] in nsQIResult a, inout unsigned long bLength, inout nsIIDPtr bIID, [array, size_is (bLength), iid_is (bIID)] inout nsQIResult b, out unsigned long rvLength, out nsIIDPtr rvIID, [retval, array, size_is (rvLength), iid_is (rvIID)] out nsQIResult rv); */
412 : NS_IMETHODIMP nsXPCTestParams::TestInterfaceIsArray(PRUint32 aLength, const nsIID *aIID, void **a, PRUint32 *bLength NS_INOUTPARAM, nsIID **bIID NS_INOUTPARAM, void ***b NS_INOUTPARAM, PRUint32 *rvLength NS_OUTPARAM, nsIID **rvIID NS_OUTPARAM, void ***rv NS_OUTPARAM)
413 : {
414 : return NS_ERROR_NOT_IMPLEMENTED;
415 : }
416 :
417 : /* End of implementation class template. */
418 : #endif
419 :
420 :
421 : #endif /* __gen_xpctest_params_h__ */
|