/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is mozilla.org code. The Initial Developer of the Original Code is Sun Microsystems, Inc. Portions created by Sun are Copyright (C) 1999 Sun Microsystems, Inc. All Rights Reserved. Contributor(s): Client QA Team, St. Petersburg, Russia */ #include "nsISupports.idl" [scriptable, uuid(c534e01c-9567-44ac-aaa6-f908fabefc2b)] interface iJ2XINOUTServerTestComponent : nsISupports { void GetTestLocation(out string tLocation, out string lLocation); void Flush(in string s); void TestChar(inout char i); void TestWChar(inout wchar i); void TestShort(inout short i); void TestLong(inout long i); void TestLonglong(inout long long i); void TestByte(inout octet i); void TestUShort(inout unsigned short i); void TestULong(inout unsigned long i); void TestULonglong(inout unsigned long long i); void TestFloat(inout float i); void TestDouble(inout double i); void TestBoolean(inout boolean i); void TestString(inout string i); void TestWString(inout wstring i); void TestStringArray(in unsigned long count,[array, size_is(count)] inout string valueArray); void TestLongArray(in unsigned long count, [array, size_is(count)] inout long longArray); void TestCharArray(in unsigned long count,[array, size_is(count)] inout char valueArray); void TestObject(inout iJ2XINOUTServerTestComponent obj); void TestMixed(inout char cChar, inout octet nByte, inout short nShort, inout unsigned short nUShort, inout long nLong, inout unsigned long nULong, inout long long nHyper, inout unsigned long long nUHyper, inout string aString); void TestObj(); void TestObj2(); }; %{ C++ #define J2XINOUTSERVERTESTCOMPONENT_CID \ { /*4aa238d4-d655-40b7-9743-62a5b2e21a5c*/ \ 0x4aa238d4, \ 0xd655, \ 0x40b7, \ {0x97, 0x43, 0x62, 0xa5, 0xb2, 0xe2, 0x1a, 0x5c} \ } #define J2XINOUTSERVERTESTCOMPONENT_PROGID "@mozilla/blackwood/blackconnect/test/params/J2XINOUTServer;1" %}