fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / cli_ure / qa / climaker / types.idl
blobc1da0de340974407ab19d7212bd2d7f27d1ba382
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include <com/sun/star/lang/ClassNotFoundException.idl>
20 #include <com/sun/star/lang/IllegalAccessException.idl>
21 #include <com/sun/star/uno/DeploymentException.idl>
22 #include <com/sun/star/uno/Exception.idl>
23 #include <com/sun/star/uno/RuntimeException.idl>
24 #include <com/sun/star/uno/XInterface.idl>
25 #include <com/sun/star/uno/XNamingService.idl>
26 #include <com/sun/star/lang/XComponent.idl>
27 module test { module cliure { module climaker {
29 enum Enum1 { VALUE1 = -100, VALUE2 = 100 };
31 enum Enum2 { VALUE0 = 0, VALUE1 = 1, VALUE2 = 2, VALUE4 = 4 };
33 struct Struct1 { long member1; };
35 struct PolyStruct<if,else> {
36 if member1;
37 long member2;
40 struct PolyStruct2<a> {
41 a member1;
42 long member2;
45 struct PolyStruct3<a,b> {
46 a member1;
47 b member2;
50 interface XTest {
51 boolean test();
53 [attribute, bound] long A1;
54 [attribute, bound, readonly] long A2;
55 [attribute] long A3 {
56 get raises
57 (com::sun::star::uno::Exception,
58 com::sun::star::lang::ClassNotFoundException);
59 set raises (com::sun::star::uno::RuntimeException);
61 [attribute, readonly] long A4 {
62 get raises (com::sun::star::uno::DeploymentException);
65 void testOneway();
67 void testExceptions()
68 raises( com::sun::star::uno::Exception,
69 com::sun::star::lang::ClassNotFoundException);
72 PolyStruct<char,long> testPolyStruct([in] PolyStruct<char, long> val);
75 void inParameters([in] boolean aBool, [in] byte aByte, [in] short aShort,
76 [in] unsigned short aUShort, [in] long aLong, [in] unsigned long aULong,
77 [in] hyper aHyper, [in] unsigned hyper aUHyper, [in] float aFloat,
78 [in] double aDouble, [in] char aChar, [in] string aString,
79 [in] type aType, [in] any aAny, [in] Enum2 aEnum, [in] Struct1 aStruct,
80 [in] com::sun::star::uno::XInterface aXInterface,
81 [in] com::sun::star::lang::XComponent aXComponent,
82 [in] sequence<boolean> seqBool);
84 void outParameters([out] boolean aBool, [out] byte aByte, [out] short aShort,
85 [out] unsigned short aUShort, [out] long aLong, [out] unsigned long aULong,
86 [out] hyper aHyper, [out] unsigned hyper aUHyper, [out] float aFloat,
87 [out] double aDouble, [out] char aChar, [out] string aString,
88 [out] type aType, [out] any aAny, [out] Enum2 aEnum, [out] Struct1 aStruct,
89 [out] com::sun::star::uno::XInterface aXInterface,
90 [out] com::sun::star::lang::XComponent aXComponent,
91 [out] sequence<boolean> seqBool);
93 void inoutParameters([inout] boolean aBool, [inout] byte aByte, [inout] short aShort,
94 [inout] unsigned short aUShort, [inout] long aLong,
95 [inout] unsigned long aULong,
96 [inout] hyper aHyper, [inout] unsigned hyper aUHyper,
97 [inout] float aFloat,
98 [inout] double aDouble, [inout] char aChar, [inout] string aString,
99 [inout] type aType, [inout] any aAny, [inout] Enum2 aEnum,
100 [inout] Struct1 aStruct,
101 [inout] com::sun::star::uno::XInterface aXInterface,
102 [inout] com::sun::star::lang::XComponent aXComponent,
103 [inout] sequence<boolean> seqBool);
104 boolean retBoolean();
105 byte retByte();
106 short retShort();
107 unsigned short retUShort();
108 long retLong();
109 unsigned long retULong();
110 hyper retHyper();
111 unsigned hyper retUHyper();
112 float retFloat();
113 double retDouble();
114 char retChar();
115 string retString();
116 type retType();
117 any retAny();
118 Enum2 retEnum();
119 Struct1 retStruct1();
120 com::sun::star::uno::XInterface retXInterface();
121 com::sun::star::lang::XComponent retXComponent();
122 sequence<boolean> retSeqBool();
124 [attribute] boolean attrBoolean;
125 [attribute] byte attrByte;
126 [attribute] short attrShort;
127 [attribute] unsigned short attrUShort;
128 [attribute] long attrLong;
129 [attribute] unsigned long attrULong;
130 [attribute] hyper attrHyper;
131 [attribute] unsigned hyper attrUHyper;
132 [attribute] float attrFloat;
133 [attribute] double attrDouble;
134 [attribute] char attrChar;
135 [attribute] string attrString;
136 [attribute] type attrType;
137 [attribute] any attrAny;
138 [attribute] Enum2 attrEnum2;
139 [attribute] Struct1 attrStruct1;
140 [attribute] com::sun::star::uno::XInterface attrXInterface;
141 [attribute] com::sun::star::lang::XComponent attrXComponent;
142 [attribute] sequence<boolean> attrSeqBoolean;
145 typedef boolean Boolean;
146 typedef byte Byte;
147 typedef short Short;
148 typedef unsigned short UnsignedShort;
149 typedef long Long;
150 typedef unsigned long UnsignedLong;
151 typedef hyper Hyper;
152 typedef unsigned hyper UnsignedHyper;
153 typedef float Float;
154 typedef double Double;
155 typedef char Char;
156 typedef string String;
157 typedef type Type;
158 typedef any Any;
159 typedef Enum2 Enum;
160 typedef Struct1 Struct;
161 typedef com::sun::star::uno::XInterface XInterface;
162 typedef com::sun::star::uno::XNamingService XNamingService;
163 typedef com::sun::star::lang::XComponent XComponent;
165 typedef sequence< Boolean > SequenceBoolean;
166 typedef sequence< Byte > SequenceByte;
167 typedef sequence< Short > SequenceShort;
168 typedef sequence< UnsignedShort > SequenceUnsignedShort;
169 typedef sequence< Long > SequenceLong;
170 typedef sequence< UnsignedLong > SequenceUnsignedLong;
171 typedef sequence< Hyper > SequenceHyper;
172 typedef sequence< UnsignedHyper > SequenceUnsignedHyper;
173 typedef sequence< Float > SequenceFloat;
174 typedef sequence< Double > SequenceDouble;
175 typedef sequence< Char > SequenceChar;
176 typedef sequence< String > SequenceString;
177 typedef sequence< Type > SequenceType;
178 typedef sequence< Any > SequenceAny;
179 typedef sequence< Enum > SequenceEnum;
180 typedef sequence< Struct > SequenceStruct;
181 typedef sequence< XInterface > SequenceXInterface;
182 typedef sequence< XNamingService > SequenceXNamingService;
183 typedef sequence< XComponent > SequenceXComponent;
185 struct Struct2 {
186 boolean p1;
187 byte p2;
188 short p3;
189 unsigned short p4;
190 long p5;
191 unsigned long p6;
192 hyper p7;
193 unsigned hyper p8;
194 float p9;
195 double p10;
196 char p11;
197 string p12;
198 type p13;
199 any p14;
200 Enum2 p15;
201 Struct1 p16;
202 com::sun::star::uno::XInterface p17;
203 com::sun::star::uno::XNamingService p18;
204 Boolean t1;
205 Byte t2;
206 Short t3;
207 UnsignedShort t4;
208 Long t5;
209 UnsignedLong t6;
210 Hyper t7;
211 UnsignedHyper t8;
212 Float t9;
213 Double t10;
214 Char t11;
215 String t12;
216 Type t13;
217 Any t14;
218 Enum t15;
219 Struct t16;
220 XInterface t17;
221 XNamingService t18;
222 sequence< boolean > a1;
223 sequence< byte > a2;
224 sequence< short > a3;
225 sequence< unsigned short > a4;
226 sequence< long > a5;
227 sequence< unsigned long > a6;
228 sequence< hyper > a7;
229 sequence< unsigned hyper > a8;
230 sequence< float > a9;
231 sequence< double > a10;
232 sequence< char > a11;
233 sequence< string > a12;
234 sequence< type > a13;
235 sequence< any > a14;
236 sequence< Enum2 > a15;
237 sequence< Struct1 > a16;
238 sequence< com::sun::star::uno::XInterface > a17;
239 sequence< com::sun::star::uno::XNamingService > a18;
240 sequence< sequence< boolean > > aa1;
241 sequence< sequence< byte > > aa2;
242 sequence< sequence< short > > aa3;
243 sequence< sequence< unsigned short > > aa4;
244 sequence< sequence< long > > aa5;
245 sequence< sequence< unsigned long > > aa6;
246 sequence< sequence< hyper > > aa7;
247 sequence< sequence< unsigned hyper > > aa8;
248 sequence< sequence< float > > aa9;
249 sequence< sequence< double > > aa10;
250 sequence< sequence< char > > aa11;
251 sequence< sequence< string > > aa12;
252 sequence< sequence< type > > aa13;
253 sequence< sequence< any > > aa14;
254 sequence< sequence< Enum2 > > aa15;
255 sequence< sequence< Struct1 > > aa16;
256 sequence< sequence< com::sun::star::uno::XInterface > > aa17;
257 sequence< sequence< com::sun::star::uno::XNamingService > > aa18;
258 sequence< SequenceBoolean > at1;
259 sequence< SequenceByte > at2;
260 sequence< SequenceShort > at3;
261 sequence< SequenceUnsignedShort > at4;
262 sequence< SequenceLong > at5;
263 sequence< SequenceUnsignedLong > at6;
264 sequence< SequenceHyper > at7;
265 sequence< SequenceUnsignedHyper > at8;
266 sequence< SequenceFloat > at9;
267 sequence< SequenceDouble > at10;
268 sequence< SequenceChar > at11;
269 sequence< SequenceString > at12;
270 sequence< SequenceType > at13;
271 sequence< SequenceAny > at14;
272 sequence< SequenceEnum > at15;
273 sequence< SequenceStruct > at16;
274 sequence< SequenceXInterface > at17;
275 sequence< SequenceXNamingService > at18;
278 struct Struct3
280 XTest iTest;
283 struct Struct4: Struct3
285 long n;
288 struct Struct5
290 Struct3 m;
291 Struct4 n;
294 struct Struct6
296 Struct4 m;
299 struct Struct7
301 sequence<sequence<Struct6> > seqseqStruct6;
304 service S1: XTest {
305 create1();
307 create2([in] any... create2)
308 raises (com::sun::star::uno::RuntimeException,
309 com::sun::star::lang::ClassNotFoundException,
310 com::sun::star::uno::Exception,
311 com::sun::star::lang::IllegalAccessException,
312 com::sun::star::uno::DeploymentException);
314 create3([in] sequence<any> S1)
315 raises (com::sun::star::uno::RuntimeException,
316 com::sun::star::lang::ClassNotFoundException,
317 com::sun::star::lang::IllegalAccessException,
318 com::sun::star::uno::DeploymentException);
320 create4([in] long javamaker, [in] long S1, [in] long create4);
322 create5(
323 [in] boolean p1,
324 [in] byte p2,
325 [in] short p3,
326 [in] unsigned short p4,
327 [in] long p5,
328 [in] unsigned long p6,
329 [in] hyper p7,
330 [in] unsigned hyper p8,
331 [in] float p9,
332 [in] double p10,
333 [in] char p11,
334 [in] string p12,
335 [in] type p13,
336 [in] any p14,
337 [in] Enum2 p15,
338 [in] Struct1 p16,
339 [in] PolyStruct<char, short> p17,
340 [in] PolyStruct<any, short> p18,
341 [in] com::sun::star::uno::XInterface p19,
342 [in] com::sun::star::lang::XComponent p20,
343 [in] Boolean t1,
344 [in] Byte t2,
345 [in] Short t3,
346 [in] UnsignedShort t4,
347 [in] Long t5,
348 [in] UnsignedLong t6,
349 [in] Hyper t7,
350 [in] UnsignedHyper t8,
351 [in] Float t9,
352 [in] Double t10,
353 [in] Char t11,
354 [in] String t12,
355 [in] Type t13,
356 [in] Any t14,
357 [in] Enum t15,
358 [in] Struct t16,
359 [in] XInterface t17,
360 [in] XComponent t18,
361 [in] sequence< boolean > a1,
362 [in] sequence< byte > a2,
363 [in] sequence< short > a3,
364 [in] sequence< unsigned short > a4,
365 [in] sequence< long > a5,
366 [in] sequence< unsigned long > a6,
367 [in] sequence< hyper > a7,
368 [in] sequence< unsigned hyper > a8,
369 [in] sequence< float > a9,
370 [in] sequence< double > a10,
371 [in] sequence< char > a11,
372 [in] sequence< string > a12,
373 [in] sequence< type > a13,
374 [in] sequence< any > a14,
375 [in] sequence< Enum2 > a15,
376 [in] sequence< Struct1 > a16,
377 [in] sequence< com::sun::star::uno::XInterface > a17,
378 [in] sequence< com::sun::star::lang::XComponent > a18,
379 [in] sequence< sequence< boolean > > aa1,
380 [in] sequence< sequence< byte > > aa2,
381 [in] sequence< sequence< short > > aa3,
382 [in] sequence< sequence< unsigned short > > aa4,
383 [in] sequence< sequence< long > > aa5,
384 [in] sequence< sequence< unsigned long > > aa6,
385 [in] sequence< sequence< hyper > > aa7,
386 [in] sequence< sequence< unsigned hyper > > aa8,
387 [in] sequence< sequence< float > > aa9,
388 [in] sequence< sequence< double > > aa10,
389 [in] sequence< sequence< char > > aa11,
390 [in] sequence< sequence< string > > aa12,
391 [in] sequence< sequence< type > > aa13,
392 [in] sequence< sequence< any > > aa14,
393 [in] sequence< sequence< Enum2 > > aa15,
394 [in] sequence< sequence< Struct1 > > aa16,
395 [in] sequence< sequence< com::sun::star::uno::XInterface > > aa17,
396 [in] sequence< sequence< com::sun::star::lang::XComponent > > aa18,
397 [in] sequence< SequenceBoolean > at1,
398 [in] sequence< SequenceByte > at2,
399 [in] sequence< SequenceShort > at3,
400 [in] sequence< SequenceUnsignedShort > at4,
401 [in] sequence< SequenceLong > at5,
402 [in] sequence< SequenceUnsignedLong > at6,
403 [in] sequence< SequenceHyper > at7,
404 [in] sequence< SequenceUnsignedHyper > at8,
405 [in] sequence< SequenceFloat > at9,
406 [in] sequence< SequenceDouble > at10,
407 [in] sequence< SequenceChar > at11,
408 [in] sequence< SequenceString > at12,
409 [in] sequence< SequenceType > at13,
410 [in] sequence< SequenceAny > at14,
411 [in] sequence< SequenceEnum > at15,
412 [in] sequence< SequenceStruct > at16,
413 [in] sequence< SequenceXInterface > at17,
414 [in] sequence< SequenceXComponent > at18
417 create6(
418 [in] PolyStruct2<type> arg1,
419 [in] PolyStruct2<any> arg2,
420 [in] PolyStruct2<boolean> arg3,
421 [in] PolyStruct2<byte> arg4,
422 [in] PolyStruct2<char> arg5,
423 [in] PolyStruct2<short> arg6,
424 [in] PolyStruct2<long> arg7,
425 [in] PolyStruct2<hyper> arg8,
426 [in] PolyStruct2<string> arg9,
427 [in] PolyStruct2<float> arg10,
428 [in] PolyStruct2<double> arg11,
429 [in] PolyStruct2<com::sun::star::uno::XInterface> arg12,
430 [in] PolyStruct2<com::sun::star::lang::XComponent> arg13,
431 [in] PolyStruct2<PolyStruct<char,any> > arg14,
432 [in] PolyStruct2<PolyStruct<PolyStruct<char,any>,string> > arg15,
433 [in] PolyStruct<string, PolyStruct<char, PolyStruct2<any> > > arg16,
434 [in] PolyStruct<PolyStruct<char,any>, PolyStruct2<char> > arg17,
435 [in] PolyStruct2<sequence<type> > arg101,
436 [in] PolyStruct2<sequence<any> > arg102,
437 [in] PolyStruct2<sequence<boolean> > arg103,
438 [in] PolyStruct2<sequence<byte> > arg104,
439 [in] PolyStruct2<sequence<char> > arg105,
440 [in] PolyStruct2<sequence<short> > arg106,
441 [in] PolyStruct2<sequence<long> > arg107,
442 [in] PolyStruct2<sequence<hyper> > arg108,
443 [in] PolyStruct2<sequence<string> > arg109,
444 [in] PolyStruct2<sequence<float> > arg110,
445 [in] PolyStruct2<sequence<double> > arg111,
446 [in] PolyStruct2<sequence<com::sun::star::uno::XInterface> > arg112,
447 [in] PolyStruct2<sequence<com::sun::star::lang::XComponent> > arg113,
448 [in] PolyStruct2<sequence<PolyStruct<char, sequence<any> > > > arg114,
449 [in] PolyStruct2<sequence<PolyStruct<PolyStruct2<char>, sequence<any> > > > arg115,
450 [in] PolyStruct2<sequence<sequence<char> > > arg201,
451 [in] sequence<PolyStruct2< char > > arg301,
452 [in] sequence<PolyStruct2<PolyStruct<char,any> > > arg302,
453 [in] sequence<PolyStruct2<PolyStruct<PolyStruct<char,any>,string> > > arg303,
454 [in] sequence<PolyStruct<string, PolyStruct<char, PolyStruct2<any> > > > arg304,
455 [in] sequence<PolyStruct<PolyStruct<char,any>, PolyStruct2<char> > > arg305,
456 [in] sequence<sequence<PolyStruct2< char > > > arg401,
457 [in] sequence<sequence<PolyStruct2<PolyStruct<char,any> > > >arg402,
458 [in] sequence<sequence<PolyStruct2<PolyStruct<PolyStruct<char,any>,string> > > > arg403,
459 [in] sequence<sequence<PolyStruct<string, PolyStruct<char, PolyStruct2<any> > > > > arg404,
460 [in] sequence<sequence<PolyStruct<PolyStruct<char,any>, PolyStruct2<char> > > > arg405
465 service S2: XTest;
467 service S3 { interface XTest; };
469 singleton S4: XTest;
471 singleton S5 { service S2; };
474 }; }; };