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