update dev300-m58
[ooovba.git] / cppu / test / alignment.idl
blob1f8ce6bfe8e9939334dd81cbfe68b63b8847e3b2
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: alignment.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _TEST_ALIGNMENT_IDL_
31 #define _TEST_ALIGNMENT_IDL_
33 #include <com/sun/star/uno/XInterface.idl>
35 module test
37 module alignment
40 struct C1
42 short n1;
44 struct C2 : C1
46 long n2;
48 struct C3 : C2
50 double d3;
51 long n3;
53 struct C4 : C3
55 long n4;
56 double d4;
58 struct C5 : C4
60 hyper n5;
61 boolean b5;
64 struct C6 : C1
66 C5 c;
67 boolean b6;
69 struct C7 : C1
71 C1 c;
72 boolean b6;
74 struct C8 : C1
76 any a;
77 boolean b6;
79 struct C9 : C1
81 string s;
82 boolean b6;
84 struct C10 : C1
86 float f;
87 boolean b6;
89 struct C11 : C1
91 double d;
92 boolean b6;
94 struct C12 : C1
96 hyper n;
97 boolean b6;
99 struct C13 : C1
101 unsigned hyper n;
102 boolean b6;
104 struct C14 : C1
106 ::com::sun::star::uno::XInterface x;
107 boolean b6;
110 struct C1x
112 short sx;
113 double dx;
116 struct C6x : C1x
118 C5 c;
119 boolean b6;
121 struct C7x : C1x
123 C1 c;
124 boolean b6;
126 struct C8x : C1x
128 any a;
129 boolean b6;
131 struct C9x : C1x
133 string s;
134 boolean b6;
136 struct C10x : C1x
138 float f;
139 boolean b6;
141 struct C11x : C1x
143 double d;
144 boolean b6;
146 struct C12x : C1x
148 hyper n;
149 boolean b6;
151 struct C13x : C1x
153 unsigned hyper n;
154 boolean b6;
156 struct C14x : C1x
158 ::com::sun::star::uno::XInterface x;
159 boolean b6;
163 struct D
165 short d;
166 long e;
168 struct E
170 boolean a;
171 boolean b;
172 boolean c;
173 short d;
174 long e;
177 struct M
179 long n;
180 short o;
183 struct N : M
185 short p;
187 struct N2
189 M m;
190 short p;
192 struct O : M
194 double p;
196 struct O2 : O
198 double p2;
200 struct P : N
202 double p2;
205 }; // alignment
206 }; // test
208 #endif