1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24/*TODO: Do not depend on types for which C++ header files are only generated
25  later in the build process in offuh: */
26#include "com/sun/star/lang/ClassNotFoundException.idl"
27#include "com/sun/star/lang/IllegalAccessException.idl"
28#include "com/sun/star/lang/Locale.idl"
29#include "com/sun/star/uno/DeploymentException.idl"
30#include "com/sun/star/uno/Exception.idl"
31#include "com/sun/star/uno/RuntimeException.idl"
32#include "com/sun/star/uno/XInterface.idl"
33#include "com/sun/star/uno/XNamingService.idl"
34
35singleton FILE: com::sun::star::uno::XInterface;
36singleton lconv: com::sun::star::uno::XInterface;
37singleton tm: com::sun::star::uno::XInterface;
38
39singleton std: com::sun::star::uno::XInterface;
40
41module test { module codemaker { module cppumaker {
42
43interface XTest {
44    boolean test();
45
46    [attribute, bound] long A1;
47    [attribute, bound, readonly] long A2;
48    [attribute] long A3 {
49        get raises
50            (com::sun::star::uno::Exception,
51             com::sun::star::lang::ClassNotFoundException);
52        set raises (com::sun::star::uno::RuntimeException);
53    };
54    [attribute, readonly] long A4 {
55        get raises (com::sun::star::uno::DeploymentException);
56    };
57};
58
59typedef boolean Boolean;
60typedef byte Byte;
61typedef short Short;
62typedef unsigned short UnsignedShort;
63typedef long Long;
64typedef unsigned long UnsignedLong;
65typedef hyper Hyper;
66typedef unsigned hyper UnsignedHyper;
67typedef float Float;
68typedef double Double;
69typedef char Char;
70typedef string String;
71typedef type Type;
72typedef any Any;
73typedef com::sun::star::lang::Locale Locale;
74typedef com::sun::star::uno::XInterface XInterface;
75typedef com::sun::star::uno::XNamingService XNamingService;
76
77typedef sequence< Boolean > SequenceBoolean;
78typedef sequence< Byte > SequenceByte;
79typedef sequence< Short > SequenceShort;
80typedef sequence< UnsignedShort > SequenceUnsignedShort;
81typedef sequence< Long > SequenceLong;
82typedef sequence< UnsignedLong > SequenceUnsignedLong;
83typedef sequence< Hyper > SequenceHyper;
84typedef sequence< UnsignedHyper > SequenceUnsignedHyper;
85typedef sequence< Float > SequenceFloat;
86typedef sequence< Double > SequenceDouble;
87typedef sequence< Char > SequenceChar;
88typedef sequence< String > SequenceString;
89typedef sequence< Type > SequenceType;
90typedef sequence< Any > SequenceAny;
91typedef sequence< Locale > SequenceLocale;
92typedef sequence< XInterface > SequenceXInterface;
93typedef sequence< XNamingService > SequenceXNamingService;
94
95service S1: XTest {
96    create1();
97
98    create2([in] any... create2)
99        raises (com::sun::star::uno::RuntimeException,
100                com::sun::star::lang::ClassNotFoundException,
101                com::sun::star::uno::Exception,
102                com::sun::star::lang::IllegalAccessException,
103                com::sun::star::uno::DeploymentException);
104
105    create3([in] sequence<any> S1)
106        raises (com::sun::star::uno::RuntimeException,
107                com::sun::star::lang::ClassNotFoundException,
108                com::sun::star::lang::IllegalAccessException,
109                com::sun::star::uno::DeploymentException);
110
111    create4([in] long javamaker, [in] long S1, [in] long create4);
112
113    create5(
114        [in] boolean p1,
115        [in] byte p2,
116        [in] short p3,
117        [in] unsigned short p4,
118        [in] long p5,
119        [in] unsigned long p6,
120        [in] hyper p7,
121        [in] unsigned hyper p8,
122        [in] float p9,
123        [in] double p10,
124        [in] char p11,
125        [in] string p12,
126        [in] type p13,
127        [in] any p14,
128        [in] com::sun::star::lang::Locale p15,
129        [in] com::sun::star::uno::XInterface p16,
130        [in] com::sun::star::uno::XNamingService p17,
131        [in] Boolean t1,
132        [in] Byte t2,
133        [in] Short t3,
134        [in] UnsignedShort t4,
135        [in] Long t5,
136        [in] UnsignedLong t6,
137        [in] Hyper t7,
138        [in] UnsignedHyper t8,
139        [in] Float t9,
140        [in] Double t10,
141        [in] Char t11,
142        [in] String t12,
143        [in] Type t13,
144        [in] Any t14,
145        [in] Locale t15,
146        [in] XInterface t16,
147        [in] XNamingService t17,
148        [in] sequence< sequence< boolean > > a1,
149        [in] sequence< sequence< byte > > a2,
150        [in] sequence< sequence< short > > a3,
151        [in] sequence< sequence< unsigned short > > a4,
152        [in] sequence< sequence< long > > a5,
153        [in] sequence< sequence< unsigned long > > a6,
154        [in] sequence< sequence< hyper > > a7,
155        [in] sequence< sequence< unsigned hyper > > a8,
156        [in] sequence< sequence< float > > a9,
157        [in] sequence< sequence< double > > a10,
158        [in] sequence< sequence< char > > a11,
159        [in] sequence< sequence< string > > a12,
160        [in] sequence< sequence< type > > a13,
161        [in] sequence< sequence< any > > a14,
162        [in] sequence< sequence< com::sun::star::lang::Locale > > a15,
163        [in] sequence< sequence< com::sun::star::uno::XInterface > > a16,
164        [in] sequence< sequence<
165            com::sun::star::uno::XNamingService > > a17,
166        [in] sequence< SequenceBoolean > at1,
167        [in] sequence< SequenceByte > at2,
168        [in] sequence< SequenceShort > at3,
169        [in] sequence< SequenceUnsignedShort > at4,
170        [in] sequence< SequenceLong > at5,
171        [in] sequence< SequenceUnsignedLong > at6,
172        [in] sequence< SequenceHyper > at7,
173        [in] sequence< SequenceUnsignedHyper > at8,
174        [in] sequence< SequenceFloat > at9,
175        [in] sequence< SequenceDouble > at10,
176        [in] sequence< SequenceChar > at11,
177        [in] sequence< SequenceString > at12,
178        [in] sequence< SequenceType > at13,
179        [in] sequence< SequenceAny > at14,
180        [in] sequence< SequenceLocale > at15,
181        [in] sequence< SequenceXInterface > at16,
182        [in] sequence< SequenceXNamingService > at17);
183};
184
185service S2: XTest;
186
187service S3 { interface XTest; };
188
189singleton S4 { service S2; };
190
191module services {
192
193service asm: com::sun::star::uno::XInterface { asm([in] long asm); };
194service auto: com::sun::star::uno::XInterface { auto([in] long auto); };
195service bool: com::sun::star::uno::XInterface { bool([in] long bool); };
196service break: com::sun::star::uno::XInterface { break([in] long break); };
197//TODO: service case: com::sun::star::uno::XInterface { case([in] long case); };
198service catch: com::sun::star::uno::XInterface { catch([in] long catch); };
199//TODO: service char: com::sun::star::uno::XInterface { char([in] long char); };
200service class: com::sun::star::uno::XInterface { class([in] long class); };
201//TODO: service const: com::sun::star::uno::XInterface {
202//    const([in] long const); };
203service continue: com::sun::star::uno::XInterface {
204    continue([in] long continue); };
205//TODO: service default: com::sun::star::uno::XInterface {
206//    default([in] long default); };
207service delete: com::sun::star::uno::XInterface { delete([in] long delete); };
208service do: com::sun::star::uno::XInterface { do([in] long do); };
209//TODO: service double: com::sun::star::uno::XInterface {
210//    double([in] long double); };
211service else: com::sun::star::uno::XInterface { else([in] long else); };
212//TODO: service enum: com::sun::star::uno::XInterface { enum([in] long enum); };
213service explicit: com::sun::star::uno::XInterface {
214    explicit([in] long explicit); };
215service export: com::sun::star::uno::XInterface { export([in] long export); };
216service extern: com::sun::star::uno::XInterface { extern([in] long extern); };
217service false: com::sun::star::uno::XInterface { false([in] long false); };
218//TODO: service float: com::sun::star::uno::XInterface {
219//    float([in] long float); };
220service for: com::sun::star::uno::XInterface { for([in] long for); };
221service friend: com::sun::star::uno::XInterface { friend([in] long friend); };
222service goto: com::sun::star::uno::XInterface { goto([in] long goto); };
223service if: com::sun::star::uno::XInterface { if([in] long if); };
224service inline: com::sun::star::uno::XInterface { inline([in] long inline); };
225service int: com::sun::star::uno::XInterface { int([in] long int); };
226//TODO: service long: com::sun::star::uno::XInterface { long([in] long long); };
227service mutable: com::sun::star::uno::XInterface {
228    mutable([in] long mutable); };
229service namespace: com::sun::star::uno::XInterface {
230    namespace([in] long namespace); };
231service new: com::sun::star::uno::XInterface { new([in] long new); };
232service operator: com::sun::star::uno::XInterface {
233    operator([in] long operator); };
234service private: com::sun::star::uno::XInterface {
235    private([in] long private); };
236service protected: com::sun::star::uno::XInterface {
237    protected([in] long protected); };
238service public: com::sun::star::uno::XInterface { public([in] long public); };
239service register: com::sun::star::uno::XInterface {
240    register([in] long register); };
241service return: com::sun::star::uno::XInterface { return([in] long return); };
242//TODO: service short: com::sun::star::uno::XInterface {
243//    short([in] long short); };
244service signed: com::sun::star::uno::XInterface { signed([in] long signed); };
245service sizeof: com::sun::star::uno::XInterface { sizeof([in] long sizeof); };
246service static: com::sun::star::uno::XInterface { static([in] long static); };
247//TODO: service struct: com::sun::star::uno::XInterface {
248//    struct([in] long struct); };
249//TODO: service switch: com::sun::star::uno::XInterface {
250//    switch([in] long switch); };
251service template: com::sun::star::uno::XInterface {
252    template([in] long template); };
253service this: com::sun::star::uno::XInterface { this([in] long this); };
254service throw: com::sun::star::uno::XInterface { throw([in] long throw); };
255service true: com::sun::star::uno::XInterface { true([in] long true); };
256service try: com::sun::star::uno::XInterface { try([in] long try); };
257//TODO: service typedef: com::sun::star::uno::XInterface {
258//    typedef([in] long typedef); };
259service typeid: com::sun::star::uno::XInterface { typeid([in] long typeid); };
260service typename: com::sun::star::uno::XInterface {
261    typename([in] long typename); };
262//TODO: service union: com::sun::star::uno::XInterface {
263//    union([in] long union); };
264//TODO: service unsigned: com::sun::star::uno::XInterface {
265//    unsigned([in] long unsigned); };
266service using: com::sun::star::uno::XInterface { using([in] long using); };
267service virtual: com::sun::star::uno::XInterface {
268    virtual([in] long virtual); };
269//TODO: service void: com::sun::star::uno::XInterface { void([in] long void); };
270service volatile: com::sun::star::uno::XInterface {
271    volatile([in] long volatile); };
272service while: com::sun::star::uno::XInterface { while([in] long while); };
273
274service and: com::sun::star::uno::XInterface { and([in] long and); };
275service bitand: com::sun::star::uno::XInterface { bitand([in] long bitand); };
276service bitor: com::sun::star::uno::XInterface { bitor([in] long bitor); };
277service compl: com::sun::star::uno::XInterface { compl([in] long compl); };
278service not: com::sun::star::uno::XInterface { not([in] long not); };
279service or: com::sun::star::uno::XInterface { or([in] long or); };
280service xor: com::sun::star::uno::XInterface { xor([in] long xor); };
281
282service BUFSIZ: com::sun::star::uno::XInterface { BUFSIZ([in] long BUFSIZ); };
283service CLOCKS_PER_SEC: com::sun::star::uno::XInterface {
284    CLOCKS_PER_SEC([in] long CLOCKS_PER_SEC); };
285service EDOM: com::sun::star::uno::XInterface { EDOM([in] long EDOM); };
286service EOF: com::sun::star::uno::XInterface { EOF([in] long EOF); };
287service ERANGE: com::sun::star::uno::XInterface { ERANGE([in] long ERANGE); };
288service EXIT_FAILURE: com::sun::star::uno::XInterface {
289    EXIT_FAILURE([in] long EXIT_FAILURE); };
290service EXIT_SUCCESS: com::sun::star::uno::XInterface {
291    EXIT_SUCCESS([in] long EXIT_SUCCESS); };
292service FILENAME_MAX: com::sun::star::uno::XInterface {
293    FILENAME_MAX([in] long FILENAME_MAX); };
294service FOPEN_MAX: com::sun::star::uno::XInterface {
295    FOPEN_MAX([in] long FOPEN_MAX); };
296service HUGE_VAL: com::sun::star::uno::XInterface {
297    HUGE_VAL([in] long HUGE_VAL); };
298service LC_ALL: com::sun::star::uno::XInterface { LC_ALL([in] long LC_ALL); };
299service LC_COLLATE: com::sun::star::uno::XInterface {
300    LC_COLLATE([in] long LC_COLLATE); };
301service LC_CTYPE: com::sun::star::uno::XInterface {
302    LC_CTYPE([in] long LC_CTYPE); };
303service LC_MONETARY: com::sun::star::uno::XInterface {
304    LC_MONETARY([in] long LC_MONETARY); };
305service LC_NUMERIC: com::sun::star::uno::XInterface {
306    LC_NUMERIC([in] long LC_NUMERIC); };
307service LC_TIME: com::sun::star::uno::XInterface {
308    LC_TIME([in] long LC_TIME); };
309service L_tmpnam: com::sun::star::uno::XInterface {
310    L_tmpnam([in] long L_tmpnam); };
311service MB_CUR_MAX: com::sun::star::uno::XInterface {
312    MB_CUR_MAX([in] long MB_CUR_MAX); };
313service NULL: com::sun::star::uno::XInterface { NULL([in] long NULL); };
314service RAND_MAX: com::sun::star::uno::XInterface {
315    RAND_MAX([in] long RAND_MAX); };
316service SEEK_CUR: com::sun::star::uno::XInterface {
317    SEEK_CUR([in] long SEEK_CUR); };
318service SEEK_END: com::sun::star::uno::XInterface {
319    SEEK_END([in] long SEEK_END); };
320service SEEK_SET: com::sun::star::uno::XInterface {
321    SEEK_SET([in] long SEEK_SET); };
322service SIGABRT: com::sun::star::uno::XInterface {
323    SIGABRT([in] long SIGABRT); };
324service SIGFPE: com::sun::star::uno::XInterface { SIGFPE([in] long SIGFPE); };
325service SIGILL: com::sun::star::uno::XInterface { SIGILL([in] long SIGILL); };
326service SIGINT: com::sun::star::uno::XInterface { SIGINT([in] long SIGINT); };
327service SIGSEGV: com::sun::star::uno::XInterface {
328    SIGSEGV([in] long SIGSEGV); };
329service SIGTERM: com::sun::star::uno::XInterface {
330    SIGTERM([in] long SIGTERM); };
331service SIG_DFL: com::sun::star::uno::XInterface {
332    SIG_DFL([in] long SIG_DFL); };
333service SIG_ERR: com::sun::star::uno::XInterface {
334    SIG_ERR([in] long SIG_ERR); };
335service SIG_IGN: com::sun::star::uno::XInterface {
336    SIG_IGN([in] long SIG_IGN); };
337service TMP_MAX: com::sun::star::uno::XInterface {
338    TMP_MAX([in] long TMP_MAX); };
339service WCHAR_MAX: com::sun::star::uno::XInterface {
340    WCHAR_MAX([in] long WCHAR_MAX); };
341service WCHAR_MIN: com::sun::star::uno::XInterface {
342    WCHAR_MIN([in] long WCHAR_MIN); };
343service WEOF: com::sun::star::uno::XInterface { WEOF([in] long WEOF); };
344service assert: com::sun::star::uno::XInterface { assert([in] long assert); };
345service errno: com::sun::star::uno::XInterface { errno([in] long errno); };
346service offsetof: com::sun::star::uno::XInterface {
347    offsetof([in] long offsetof); };
348service setjmp: com::sun::star::uno::XInterface { setjmp([in] long setjmp); };
349service stderr: com::sun::star::uno::XInterface { stderr([in] long stderr); };
350service stdin: com::sun::star::uno::XInterface { stdin([in] long stdin); };
351service stdout: com::sun::star::uno::XInterface { stdout([in] long stdout); };
352
353service CHAR_BIT: com::sun::star::uno::XInterface {
354    CHAR_BIT([in] long CHAR_BIT); };
355service CHAR_MAX: com::sun::star::uno::XInterface {
356    CHAR_MAX([in] long CHAR_MAX); };
357service CHAR_MIN: com::sun::star::uno::XInterface {
358    CHAR_MIN([in] long CHAR_MIN); };
359service DBL_DIG: com::sun::star::uno::XInterface {
360    DBL_DIG([in] long DBL_DIG); };
361service DBL_EPSILON: com::sun::star::uno::XInterface {
362    DBL_EPSILON([in] long DBL_EPSILON); };
363service DBL_MANT_DIG: com::sun::star::uno::XInterface {
364    DBL_MANT_DIG([in] long DBL_MANT_DIG); };
365service DBL_MAX: com::sun::star::uno::XInterface {
366    DBL_MAX([in] long DBL_MAX); };
367service DBL_MAX_10_EXP: com::sun::star::uno::XInterface {
368    DBL_MAX_10_EXP([in] long DBL_MAX_10_EXP); };
369service DBL_MAX_EXP: com::sun::star::uno::XInterface {
370    DBL_MAX_EXP([in] long DBL_MAX_EXP); };
371service DBL_MIN: com::sun::star::uno::XInterface {
372    DBL_MIN([in] long DBL_MIN); };
373service DBL_MIN_10_EXP: com::sun::star::uno::XInterface {
374    DBL_MIN_10_EXP([in] long DBL_MIN_10_EXP); };
375service DBL_MIN_EXP: com::sun::star::uno::XInterface {
376    DBL_MIN_EXP([in] long DBL_MIN_EXP); };
377service FLT_DIG: com::sun::star::uno::XInterface {
378    FLT_DIG([in] long FLT_DIG); };
379service FLT_EPSILON: com::sun::star::uno::XInterface {
380    FLT_EPSILON([in] long FLT_EPSILON); };
381service FLT_MANT_DIG: com::sun::star::uno::XInterface {
382    FLT_MANT_DIG([in] long FLT_MANT_DIG); };
383service FLT_MAX: com::sun::star::uno::XInterface {
384    FLT_MAX([in] long FLT_MAX); };
385service FLT_MAX_10_EXP: com::sun::star::uno::XInterface {
386    FLT_MAX_10_EXP([in] long FLT_MAX_10_EXP); };
387service FLT_MAX_EXP: com::sun::star::uno::XInterface {
388    FLT_MAX_EXP([in] long FLT_MAX_EXP); };
389service FLT_MIN: com::sun::star::uno::XInterface {
390    FLT_MIN([in] long FLT_MIN); };
391service FLT_MIN_10_EXP: com::sun::star::uno::XInterface {
392    FLT_MIN_10_EXP([in] long FLT_MIN_10_EXP); };
393service FLT_MIN_EXP: com::sun::star::uno::XInterface {
394    FLT_MIN_EXP([in] long FLT_MIN_EXP); };
395service FLT_RADIX: com::sun::star::uno::XInterface {
396    FLT_RADIX([in] long FLT_RADIX); };
397service FLT_ROUNDS: com::sun::star::uno::XInterface {
398    FLT_ROUNDS([in] long FLT_ROUNDS); };
399service INT_MAX: com::sun::star::uno::XInterface {
400    INT_MAX([in] long INT_MAX); };
401service INT_MIN: com::sun::star::uno::XInterface {
402    INT_MIN([in] long INT_MIN); };
403service LDBL_DIG: com::sun::star::uno::XInterface {
404    LDBL_DIG([in] long LDBL_DIG); };
405service LDBL_EPSILON: com::sun::star::uno::XInterface {
406    LDBL_EPSILON([in] long LDBL_EPSILON); };
407service LDBL_MANT_DIG: com::sun::star::uno::XInterface {
408    LDBL_MANT_DIG([in] long LDBL_MANT_DIG); };
409service LDBL_MAX: com::sun::star::uno::XInterface {
410    LDBL_MAX([in] long LDBL_MAX); };
411service LDBL_MAX_10_EXP: com::sun::star::uno::XInterface {
412    LDBL_MAX_10_EXP([in] long LDBL_MAX_10_EXP); };
413service LDBL_MAX_EXP: com::sun::star::uno::XInterface {
414    LDBL_MAX_EXP([in] long LDBL_MAX_EXP); };
415service LDBL_MIN: com::sun::star::uno::XInterface {
416    LDBL_MIN([in] long LDBL_MIN); };
417service LDBL_MIN_10_EXP: com::sun::star::uno::XInterface {
418    LDBL_MIN_10_EXP([in] long LDBL_MIN_10_EXP); };
419service LDBL_MIN_EXP: com::sun::star::uno::XInterface {
420    LDBL_MIN_EXP([in] long LDBL_MIN_EXP); };
421service LONG_MAX: com::sun::star::uno::XInterface {
422    LONG_MAX([in] long LONG_MAX); };
423service LONG_MIN: com::sun::star::uno::XInterface {
424    LONG_MIN([in] long LONG_MIN); };
425service MB_LEN_MAX: com::sun::star::uno::XInterface {
426    MB_LEN_MAX([in] long MB_LEN_MAX); };
427service SCHAR_MAX: com::sun::star::uno::XInterface {
428    SCHAR_MAX([in] long SCHAR_MAX); };
429service SCHAR_MIN: com::sun::star::uno::XInterface {
430    SCHAR_MIN([in] long SCHAR_MIN); };
431service SHRT_MAX: com::sun::star::uno::XInterface {
432    SHRT_MAX([in] long SHRT_MAX); };
433service SHRT_MIN: com::sun::star::uno::XInterface {
434    SHRT_MIN([in] long SHRT_MIN); };
435service UCHAR_MAX: com::sun::star::uno::XInterface {
436    UCHAR_MAX([in] long UCHAR_MAX); };
437service UINT_MAX: com::sun::star::uno::XInterface {
438    UINT_MAX([in] long UINT_MAX); };
439service ULONG_MAX: com::sun::star::uno::XInterface {
440    ULONG_MAX([in] long ULONG_MAX); };
441service USHRT_MAX: com::sun::star::uno::XInterface {
442    USHRT_MAX([in] long USHRT_MAX); };
443
444service FILE: com::sun::star::uno::XInterface { FILE([in] long FILE); };
445service lconv: com::sun::star::uno::XInterface { lconv([in] long lconv); };
446service tm: com::sun::star::uno::XInterface { tm([in] long tm); };
447
448service std: com::sun::star::uno::XInterface { std([in] long std); };
449
450service NDEBUG: com::sun::star::uno::XInterface { NDEBUG([in] long NDEBUG); };
451
452service create: com::sun::star::uno::XInterface;
453
454};
455
456module singletons {
457
458singleton asm: com::sun::star::uno::XInterface;
459singleton auto: com::sun::star::uno::XInterface;
460singleton bool: com::sun::star::uno::XInterface;
461singleton break: com::sun::star::uno::XInterface;
462//TODO: singleton case: com::sun::star::uno::XInterface;
463singleton catch: com::sun::star::uno::XInterface;
464//TODO: singleton char: com::sun::star::uno::XInterface;
465singleton class: com::sun::star::uno::XInterface;
466//TODO: singleton const: com::sun::star::uno::XInterface;
467singleton continue: com::sun::star::uno::XInterface;
468//TODO: singleton default: com::sun::star::uno::XInterface;
469singleton delete: com::sun::star::uno::XInterface;
470singleton do: com::sun::star::uno::XInterface;
471//TODO: singleton double: com::sun::star::uno::XInterface;
472singleton else: com::sun::star::uno::XInterface;
473//TODO: singleton enum: com::sun::star::uno::XInterface;
474singleton explicit: com::sun::star::uno::XInterface;
475singleton export: com::sun::star::uno::XInterface;
476singleton extern: com::sun::star::uno::XInterface;
477singleton false: com::sun::star::uno::XInterface;
478//TODO: singleton float: com::sun::star::uno::XInterface;
479singleton for: com::sun::star::uno::XInterface;
480singleton friend: com::sun::star::uno::XInterface;
481singleton goto: com::sun::star::uno::XInterface;
482singleton if: com::sun::star::uno::XInterface;
483singleton inline: com::sun::star::uno::XInterface;
484singleton int: com::sun::star::uno::XInterface;
485//TODO: singleton long: com::sun::star::uno::XInterface;
486singleton mutable: com::sun::star::uno::XInterface;
487singleton namespace: com::sun::star::uno::XInterface;
488singleton new: com::sun::star::uno::XInterface;
489singleton operator: com::sun::star::uno::XInterface;
490singleton private: com::sun::star::uno::XInterface;
491singleton protected: com::sun::star::uno::XInterface;
492singleton public: com::sun::star::uno::XInterface;
493singleton register: com::sun::star::uno::XInterface;
494singleton return: com::sun::star::uno::XInterface;
495//TODO: singleton short: com::sun::star::uno::XInterface;
496singleton signed: com::sun::star::uno::XInterface;
497singleton sizeof: com::sun::star::uno::XInterface;
498singleton static: com::sun::star::uno::XInterface;
499//TODO: singleton struct: com::sun::star::uno::XInterface;
500//TODO: singleton switch: com::sun::star::uno::XInterface;
501singleton template: com::sun::star::uno::XInterface;
502singleton this: com::sun::star::uno::XInterface;
503singleton throw: com::sun::star::uno::XInterface;
504singleton true: com::sun::star::uno::XInterface;
505singleton try: com::sun::star::uno::XInterface;
506//TODO: singleton typedef: com::sun::star::uno::XInterface;
507singleton typeid: com::sun::star::uno::XInterface;
508singleton typename: com::sun::star::uno::XInterface;
509//TODO: singleton union: com::sun::star::uno::XInterface;
510//TODO: singleton unsigned: com::sun::star::uno::XInterface;
511singleton using: com::sun::star::uno::XInterface;
512singleton virtual: com::sun::star::uno::XInterface;
513//TODO: singleton void: com::sun::star::uno::XInterface;
514singleton volatile: com::sun::star::uno::XInterface;
515singleton while: com::sun::star::uno::XInterface;
516
517singleton and: com::sun::star::uno::XInterface;
518singleton bitand: com::sun::star::uno::XInterface;
519singleton bitor: com::sun::star::uno::XInterface;
520singleton compl: com::sun::star::uno::XInterface;
521singleton not: com::sun::star::uno::XInterface;
522singleton or: com::sun::star::uno::XInterface;
523singleton xor: com::sun::star::uno::XInterface;
524
525singleton BUFSIZ: com::sun::star::uno::XInterface;
526singleton CLOCKS_PER_SEC: com::sun::star::uno::XInterface;
527singleton EDOM: com::sun::star::uno::XInterface;
528singleton EOF: com::sun::star::uno::XInterface;
529singleton ERANGE: com::sun::star::uno::XInterface;
530singleton EXIT_FAILURE: com::sun::star::uno::XInterface;
531singleton EXIT_SUCCESS: com::sun::star::uno::XInterface;
532singleton FILENAME_MAX: com::sun::star::uno::XInterface;
533singleton FOPEN_MAX: com::sun::star::uno::XInterface;
534singleton HUGE_VAL: com::sun::star::uno::XInterface;
535singleton LC_ALL: com::sun::star::uno::XInterface;
536singleton LC_COLLATE: com::sun::star::uno::XInterface;
537singleton LC_CTYPE: com::sun::star::uno::XInterface;
538singleton LC_MONETARY: com::sun::star::uno::XInterface;
539singleton LC_NUMERIC: com::sun::star::uno::XInterface;
540singleton LC_TIME: com::sun::star::uno::XInterface;
541singleton L_tmpnam: com::sun::star::uno::XInterface;
542singleton MB_CUR_MAX: com::sun::star::uno::XInterface;
543singleton NULL: com::sun::star::uno::XInterface;
544singleton RAND_MAX: com::sun::star::uno::XInterface;
545singleton SEEK_CUR: com::sun::star::uno::XInterface;
546singleton SEEK_END: com::sun::star::uno::XInterface;
547singleton SEEK_SET: com::sun::star::uno::XInterface;
548singleton SIGABRT: com::sun::star::uno::XInterface;
549singleton SIGFPE: com::sun::star::uno::XInterface;
550singleton SIGILL: com::sun::star::uno::XInterface;
551singleton SIGINT: com::sun::star::uno::XInterface;
552singleton SIGSEGV: com::sun::star::uno::XInterface;
553singleton SIGTERM: com::sun::star::uno::XInterface;
554singleton SIG_DFL: com::sun::star::uno::XInterface;
555singleton SIG_ERR: com::sun::star::uno::XInterface;
556singleton SIG_IGN: com::sun::star::uno::XInterface;
557singleton TMP_MAX: com::sun::star::uno::XInterface;
558singleton WCHAR_MAX: com::sun::star::uno::XInterface;
559singleton WCHAR_MIN: com::sun::star::uno::XInterface;
560singleton WEOF: com::sun::star::uno::XInterface;
561singleton assert: com::sun::star::uno::XInterface;
562singleton errno: com::sun::star::uno::XInterface;
563singleton offsetof: com::sun::star::uno::XInterface;
564singleton setjmp: com::sun::star::uno::XInterface;
565singleton stderr: com::sun::star::uno::XInterface;
566singleton stdin: com::sun::star::uno::XInterface;
567singleton stdout: com::sun::star::uno::XInterface;
568
569singleton CHAR_BIT: com::sun::star::uno::XInterface;
570singleton CHAR_MAX: com::sun::star::uno::XInterface;
571singleton CHAR_MIN: com::sun::star::uno::XInterface;
572singleton DBL_DIG: com::sun::star::uno::XInterface;
573singleton DBL_EPSILON: com::sun::star::uno::XInterface;
574singleton DBL_MANT_DIG: com::sun::star::uno::XInterface;
575singleton DBL_MAX: com::sun::star::uno::XInterface;
576singleton DBL_MAX_10_EXP: com::sun::star::uno::XInterface;
577singleton DBL_MAX_EXP: com::sun::star::uno::XInterface;
578singleton DBL_MIN: com::sun::star::uno::XInterface;
579singleton DBL_MIN_10_EXP: com::sun::star::uno::XInterface;
580singleton DBL_MIN_EXP: com::sun::star::uno::XInterface;
581singleton FLT_DIG: com::sun::star::uno::XInterface;
582singleton FLT_EPSILON: com::sun::star::uno::XInterface;
583singleton FLT_MANT_DIG: com::sun::star::uno::XInterface;
584singleton FLT_MAX: com::sun::star::uno::XInterface;
585singleton FLT_MAX_10_EXP: com::sun::star::uno::XInterface;
586singleton FLT_MAX_EXP: com::sun::star::uno::XInterface;
587singleton FLT_MIN: com::sun::star::uno::XInterface;
588singleton FLT_MIN_10_EXP: com::sun::star::uno::XInterface;
589singleton FLT_MIN_EXP: com::sun::star::uno::XInterface;
590singleton FLT_RADIX: com::sun::star::uno::XInterface;
591singleton FLT_ROUNDS: com::sun::star::uno::XInterface;
592singleton INT_MAX: com::sun::star::uno::XInterface;
593singleton INT_MIN: com::sun::star::uno::XInterface;
594singleton LDBL_DIG: com::sun::star::uno::XInterface;
595singleton LDBL_EPSILON: com::sun::star::uno::XInterface;
596singleton LDBL_MANT_DIG: com::sun::star::uno::XInterface;
597singleton LDBL_MAX: com::sun::star::uno::XInterface;
598singleton LDBL_MAX_10_EXP: com::sun::star::uno::XInterface;
599singleton LDBL_MAX_EXP: com::sun::star::uno::XInterface;
600singleton LDBL_MIN: com::sun::star::uno::XInterface;
601singleton LDBL_MIN_10_EXP: com::sun::star::uno::XInterface;
602singleton LDBL_MIN_EXP: com::sun::star::uno::XInterface;
603singleton LONG_MAX: com::sun::star::uno::XInterface;
604singleton LONG_MIN: com::sun::star::uno::XInterface;
605singleton MB_LEN_MAX: com::sun::star::uno::XInterface;
606singleton SCHAR_MAX: com::sun::star::uno::XInterface;
607singleton SCHAR_MIN: com::sun::star::uno::XInterface;
608singleton SHRT_MAX: com::sun::star::uno::XInterface;
609singleton SHRT_MIN: com::sun::star::uno::XInterface;
610singleton UCHAR_MAX: com::sun::star::uno::XInterface;
611singleton UINT_MAX: com::sun::star::uno::XInterface;
612singleton ULONG_MAX: com::sun::star::uno::XInterface;
613singleton USHRT_MAX: com::sun::star::uno::XInterface;
614
615singleton FILE: com::sun::star::uno::XInterface;
616singleton lconv: com::sun::star::uno::XInterface;
617singleton tm: com::sun::star::uno::XInterface;
618
619singleton std: com::sun::star::uno::XInterface;
620
621singleton NDEBUG: com::sun::star::uno::XInterface;
622
623singleton get: com::sun::star::uno::XInterface;
624
625};
626
627enum HelperEnum { ZERO, ONE };
628
629struct HelperStruct { boolean m1; com::sun::star::uno::XInterface m2; };
630
631typedef byte TDByte;
632typedef HelperEnum TDEnum1;
633typedef TDEnum1 TDEnum;
634
635struct BigStruct {
636    boolean m1;
637    byte m2;
638    short m3;
639    unsigned short m4;
640    long m5;
641    unsigned long m6;
642    hyper m7;
643    unsigned hyper m8;
644    float m9;
645    double m10;
646    char m11;
647    string m12;
648    type m13;
649    any m14;
650    sequence<boolean> m15;
651    HelperEnum m16;
652    HelperStruct m17;
653    com::sun::star::uno::XInterface m18;
654    TDByte m19;
655    TDEnum m20;
656    sequence<unsigned short> m21;
657    sequence<char> m22;
658    sequence< sequence<char> > m23;
659};
660
661struct Struct<T, U> {
662    T member1;
663    sequence<SequenceAny> member2;
664};
665
666struct StructUsage {
667    Struct< long, short > member1;
668    sequence<
669        sequence<
670            Struct<
671                sequence< Struct< any, boolean > >,
672                com::sun::star::uno::XInterface > > >
673                    member2;
674};
675
676struct AlignmentBaseStruct {
677    double member1;
678    short member2;
679};
680
681struct AlignmentDerivedStruct: AlignmentBaseStruct {
682    short member3;
683};
684
685exception TestException1: com::sun::star::uno::RuntimeException {
686    long m1;
687    any m2;
688    HelperEnum m3;
689    Struct<long, long> m4;
690    unsigned short m5;
691};
692
693exception TestException2: TestException1 {};
694
695constants Constants {
696    const byte byteMin = -128;
697    const byte byteMax = 127;
698    const byte byteNeg = 255;
699    const short shortMin = -32768;
700    const short shortMax = 32767;
701    const unsigned short unsignedShortMin = 0;
702    const unsigned short unsignedShortMax = 65535;
703    const long longMin = -2147483648;
704    const long longMax = 2147483647;
705    const unsigned long unsignedLongMin = 0;
706    const unsigned long unsignedLongMax = 4294967295;
707    const hyper hyperMin = -9223372036854775808;
708    const hyper hyperMax = 9223372036854775807;
709    const unsigned hyper unsignedHyperMin = 0;
710    const unsigned hyper unsignedHyperMax = 18446744073709551615;
711};
712
713}; }; };
714