xref: /trunk/main/cppu/qa/types.idl (revision 075978e3)
1*075978e3SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*075978e3SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*075978e3SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*075978e3SAndrew Rist * distributed with this work for additional information
6*075978e3SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*075978e3SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*075978e3SAndrew Rist * "License"); you may not use this file except in compliance
9*075978e3SAndrew Rist * with the License.  You may obtain a copy of the License at
10*075978e3SAndrew Rist *
11*075978e3SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*075978e3SAndrew Rist *
13*075978e3SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*075978e3SAndrew Rist * software distributed under the License is distributed on an
15*075978e3SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*075978e3SAndrew Rist * KIND, either express or implied.  See the License for the
17*075978e3SAndrew Rist * specific language governing permissions and limitations
18*075978e3SAndrew Rist * under the License.
19*075978e3SAndrew Rist *
20*075978e3SAndrew Rist *************************************************************/
21*075978e3SAndrew Rist
22*075978e3SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "com/sun/star/uno/Exception.idl"
25cdf0e10cSrcweir#include "com/sun/star/uno/XInterface.idl"
26cdf0e10cSrcweir
27cdf0e10cSrcweirenum Enum1 { M0, M1, M2 };
28cdf0e10cSrcweir
29cdf0e10cSrcweirenum Enum2 { M0, M1, M2 };
30cdf0e10cSrcweir
31cdf0e10cSrcweirstruct Struct1 { long member; };
32cdf0e10cSrcweir
33cdf0e10cSrcweirstruct Struct2 { long member; };
34cdf0e10cSrcweir
35cdf0e10cSrcweirstruct Struct2a: Struct2 { long member2; };
36cdf0e10cSrcweir
37cdf0e10cSrcweirstruct Struct2b: Struct2a { long member3; };
38cdf0e10cSrcweir
39cdf0e10cSrcweirstruct Poly< T > { long member; };
40cdf0e10cSrcweir
41cdf0e10cSrcweirstruct Rec { sequence< Rec > x; };
42cdf0e10cSrcweir
43cdf0e10cSrcweirexception Exception1: com::sun::star::uno::Exception { long member; };
44cdf0e10cSrcweir
45cdf0e10cSrcweirexception Exception2: com::sun::star::uno::Exception { long member; };
46cdf0e10cSrcweir
47cdf0e10cSrcweirexception Exception2a: Exception2 { long member2; };
48cdf0e10cSrcweir
49cdf0e10cSrcweirexception Exception2b: Exception2a {};
50cdf0e10cSrcweir
51cdf0e10cSrcweirinterface Interface1 {};
52cdf0e10cSrcweir
53cdf0e10cSrcweirinterface Interface2 {};
54cdf0e10cSrcweir
55cdf0e10cSrcweirinterface Interface2a: Interface2 {};
56cdf0e10cSrcweir
57cdf0e10cSrcweirinterface Interface2b: Interface2a {};
58cdf0e10cSrcweir
59cdf0e10cSrcweirinterface Interface3 {};
60