sw a11y: clang-format SidebarWinAccessible code
[LibreOffice.git] / stoc / test / registry_tdprovider / types.idl
blob7d37e2322124a100ca2cb23d6ce4e44cee3377ef
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 module test { module registrytdprovider {
22 published enum Enum1 { E1 };
24 enum Enum2 { E1 };
26 published struct Struct1 { long s1; };
28 struct Struct2 { Struct1 s1; };
30 published struct Struct3<T, U> { U s2; };
32 struct Struct3a<T, U> { U s2; };
34 struct Struct4: Struct2 { Struct3< Struct2, Struct3< boolean, any > > s2; };
36 published exception Exception1: com::sun::star::uno::Exception {};
38 exception Exception2: com::sun::star::uno::Exception {};
40 published interface XBase {};
42 published typedef XBase Typedef1;
44 typedef Typedef1 Typedef2;
46 published interface XTest1 {
47 [optional] interface XBase;
49 void f1([out] any p) raises (com::sun::star::uno::RuntimeException);
51 void f2();
53 [attribute, bound] short a1;
55 [attribute] long a2 {
56 get raises
57 (com::sun::star::lang::WrappedTargetException,
58 com::sun::star::uno::RuntimeException);
59 set raises
60 (com::sun::star::uno::Exception,
61 com::sun::star::lang::WrappedTargetException);
64 [attribute, readonly, bound] hyper a3 {
65 get raises (com::sun::star::lang::WrappedTargetException);
69 interface XTest2: Typedef2 {};
71 published service Service1: XTest1 {
72 c1();
74 c2([in] any... p) raises (com::sun::star::uno::RuntimeException);
77 service Service2 {
78 [optional] interface XBase;
80 interface XTest1;
83 service Service3: Typedef2 {};
85 singleton Singleton1: XTest1;
87 published singleton Singleton2 { service Service1; };
89 singleton Singleton3: Typedef2;
91 published const long Const1 = 0;
93 const long Const2 = 0;
95 published constants Consts1 { const long C = 0; };
97 constants Consts2 { const long C = 0; };
99 }; };
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */