Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / cppuhelper / qa / propertysetmixin / types.idl
blobee1958032b2ea6b8669932ed8ed328ee370d6600
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 #ifndef __testtools_servicetests_TestService1_idl__
21 #define __testtools_servicetests_TestService1_idl__
23 #include <com/sun/star/beans/Ambiguous.idl>
24 #include <com/sun/star/beans/Defaulted.idl>
25 #include <com/sun/star/beans/Optional.idl>
26 #include <com/sun/star/beans/PropertyVetoException.idl>
27 #include <com/sun/star/beans/UnknownPropertyException.idl>
28 #include <com/sun/star/lang/XComponent.idl>
29 #include <com/sun/star/uno/XInterface.idl>
31 module test { module cppuhelper { module propertysetmixin {
33 interface XTest1 {
34 [attribute] long First;
37 interface XTest2 {
38 [attribute, bound]
39 com::sun::star::beans::Ambiguous<
40 com::sun::star::beans::Defaulted<
41 com::sun::star::beans::Optional< long > > > Second
43 get raises (com::sun::star::beans::UnknownPropertyException);
44 set raises (
45 com::sun::star::beans::PropertyVetoException,
46 com::sun::star::beans::UnknownPropertyException);
50 interface XTest3 {
51 interface XTest1;
52 interface XTest2;
53 [attribute] long Third {
54 get raises (com::sun::star::beans::UnknownPropertyException);
55 set raises (com::sun::star::beans::UnknownPropertyException);
57 [attribute] long Fourth {
58 get raises (com::sun::star::beans::UnknownPropertyException);
59 set raises (com::sun::star::beans::UnknownPropertyException);
63 interface XSupplier {
64 com::sun::star::lang::XComponent getEmpty1();
66 com::sun::star::lang::XComponent getEmpty2();
68 XTest3 getFull();
71 service CppSupplier: XSupplier;
73 service JavaSupplier: XSupplier;
75 }; }; };
77 #endif
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */