Mozilla/mozilla/java/xpcom/test/basic/params/J2XIN/cpp/iJ2XINServerTestComponent.idl
idk%eng.sun.com 4e0a322dbc *not part of the buld*
blackConnect tests update


git-svn-id: svn://10.0.0.236/trunk@99925 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 22:05:35 +00:00

73 lines
2.8 KiB
Plaintext

/* -*- 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(3b0e2d20-9852-11d4-aa22-00a024a8bbac)]
interface iJ2XINServerTestComponent : nsISupports
{
void GetTestLocation(out string tLocation, out string lLocation);
void flush(in string s);
void TestShort(in short i);
void TestLong(in long i);
void TestLonglong(in long long i);
void TestByte(in octet i);
void TestUShort(in unsigned short i);
void TestULong(in unsigned long i);
void TestULonglong(in unsigned long long i);
void TestFloat(in float i);
void TestDouble(in double i);
void TestBoolean(in boolean i);
// void TestChar(in char i);
// void TestWChar(in wchar i);
void TestString(in string i);
void TestWString(in wstring i);
void TestStringArray(in unsigned long count,[array, size_is(count)] in string valueArray);
void TestLongArray(in unsigned long count, [array, size_is(count)] in long longArray);
// void TestCharArray(in unsigned long count,[array, size_is(count)] in char valueArray);
// void TestMixed(in boolean bBool,/*in char cChar*,*/ in octet nByte,
// in short nShort, in unsigned short nUShort,
// in long nLong, in unsigned long nULong,
// in long long nHyper, in unsigned long long nUHyper,
// in float fFloat, in double fDouble,
// in string aString,
// in unsigned long count, [array, size_is(count)] in long longArray);
void TestObject(in iJ2XINServerTestComponent obj);
string GetTestObjectString();
void TestIID(in nsIIDRef iid);
void TestCID(in nsCIDRef cid);
};
%{ C++
#define J2XINSERVERTESTCOMPONENT_CID \
{ /*1ddc5b10-9852-11d4-aa22-00a024a8bbac*/ \
0x1ddc5b10, \
0x9852, \
0x11d4, \
{0xaa, 0x22, 0x00, 0xa0, 0x24, 0xa8, 0xbb, 0xac} \
}
#define J2XINSERVERTESTCOMPONENT_PROGID "@mozilla/blackwood/blackconnect/test/params/J2XINServer;1"
%}