1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include
<com
/sun
/star
/uno
/XInterface.idl
>
34 struct StructB
: StructA
40 struct StructC
: StructB
43 sequence
<com
::sun
::star
::uno
::XInterface
> aInterfaceSeq
;
46 exception ExceptionB
: ExceptionA
51 interface XInterface1
: com
::sun
::star
::uno
::XInterface
55 exception ExceptionC
: ExceptionB
57 XInterface1 aInterface1
;
62 enum EnumA
{ VAL_1
, VAL_2
, VAL_3
= 17};
69 const boolean aConstBoolean
= True
;
70 const byte aConstByte
= 0;
71 const short aConstShort
= -1;
72 const unsigned short aConstUShort
= 1;
73 const long aConstLong
= -2;
74 const unsigned long aConstULong
= 2;
75 const float aConstFloat
= 3.14;
76 const double aConstDouble
= 3.14e-10;
79 interface XInterfaceA
: com
::sun
::star
::uno
::XInterface
82 void methodB
([in] short aShort
);
83 sequence
<ModuleA
::StructB
> methodC
([in] ModuleA
::StructC aStructC
, [inout
] ModuleA
::StructA aStructA
);
86 interface XInterfaceB
: XInterfaceA
88 [attribute
] string aString
;
90 XInterfaceA methodD
([in] ModuleA
::ModuleB
::EnumA aEnumA
) raises
(ModuleA
::ExceptionA
, ModuleA
::ExceptionB
, ModuleA
::ExceptionC
);
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */