diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 02:04:36 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 02:04:36 +0000 |
commit | bf7fe0eb5cca7a379b988c3b186ab7b63b807409 (patch) | |
tree | 93b2e2ba5cbbebe511410b178fbd9c4b57806d32 /bridges | |
parent | 5862d886fca8ca3cf6301d5ecb376c057a0a0b03 (diff) |
INTEGRATION: CWS sb18 (1.1.2); FILE ADDED
2004/05/12 09:11:56 sb 1.1.2.1: #i21150# Adapted to instantiated polymorphic struct types.
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/test/com/sun/star/lib/uno/bridges/java_remote/PolyStructTest.idl | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/bridges/test/com/sun/star/lib/uno/bridges/java_remote/PolyStructTest.idl b/bridges/test/com/sun/star/lib/uno/bridges/java_remote/PolyStructTest.idl new file mode 100644 index 000000000000..505ce2e97c07 --- /dev/null +++ b/bridges/test/com/sun/star/lib/uno/bridges/java_remote/PolyStructTest.idl @@ -0,0 +1,92 @@ +/************************************************************************* + * + * $RCSfile: PolyStructTest.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: obo $ $Date: 2004-06-04 03:04:36 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source 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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2002 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#include "com/sun/star/uno/XInterface.idl" + +module com { module sun { module star { module lib { module uno { +module bridges { module javaremote { + +enum TestEnum { VALUE1 = 100, VALUE2 = -100 }; + +struct TestPolyStruct<T> { T member; }; + +interface TestTransport { + TestPolyStruct<boolean> transportBoolean([in] TestPolyStruct<boolean> arg); + TestPolyStruct<byte> transportByte([in] TestPolyStruct<byte> arg); + TestPolyStruct<short> transportShort([in] TestPolyStruct<short> arg); + TestPolyStruct<unsigned short> transportUnsignedShort( + [in] TestPolyStruct<unsigned short> arg); + TestPolyStruct<long> transportLong([in] TestPolyStruct<long> arg); + TestPolyStruct<unsigned long> transportUnsignedLong( + [in] TestPolyStruct<unsigned long> arg); + TestPolyStruct<hyper> transportHyper([in] TestPolyStruct<hyper> arg); + TestPolyStruct<unsigned hyper> transportUnsignedHyper( + [in] TestPolyStruct<unsigned hyper> arg); + TestPolyStruct<float> transportFloat([in] TestPolyStruct<float> arg); + TestPolyStruct<double> transportDouble([in] TestPolyStruct<double> arg); + TestPolyStruct<char> transportChar([in] TestPolyStruct<char> arg); + TestPolyStruct<string> transportString([in] TestPolyStruct<string> arg); + TestPolyStruct<type> transportType([in] TestPolyStruct<type> arg); + TestPolyStruct<any> transportAny([in] TestPolyStruct<any> arg); + TestPolyStruct<TestEnum> transportEnum([in] TestPolyStruct<TestEnum> arg); +}; + +}; }; }; }; }; }; }; |