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#ifndef __testtools_servicetests_TestService1_idl__
25#define __testtools_servicetests_TestService1_idl__
26
27#include <com/sun/star/beans/Ambiguous.idl>
28#include <com/sun/star/beans/Defaulted.idl>
29#include <com/sun/star/beans/Optional.idl>
30#include <com/sun/star/beans/PropertyVetoException.idl>
31#include <com/sun/star/beans/UnknownPropertyException.idl>
32#include <com/sun/star/lang/XComponent.idl>
33#include <com/sun/star/uno/XInterface.idl>
34
35module test { module cppuhelper { module propertysetmixin {
36
37interface XTest1 {
38    [attribute] long First;
39};
40
41interface XTest2 {
42    [attribute, bound]
43    com::sun::star::beans::Ambiguous<
44        com::sun::star::beans::Defaulted<
45             com::sun::star::beans::Optional< long > > > Second
46    {
47        get raises (com::sun::star::beans::UnknownPropertyException);
48        set raises (
49            com::sun::star::beans::PropertyVetoException,
50            com::sun::star::beans::UnknownPropertyException);
51    };
52};
53
54interface XTest3 {
55    interface XTest1;
56    interface XTest2;
57    [attribute] long Third {
58        get raises (com::sun::star::beans::UnknownPropertyException);
59        set raises (com::sun::star::beans::UnknownPropertyException);
60    };
61    [attribute] long Fourth {
62        get raises (com::sun::star::beans::UnknownPropertyException);
63        set raises (com::sun::star::beans::UnknownPropertyException);
64    };
65};
66
67interface XSupplier {
68    com::sun::star::lang::XComponent getEmpty1();
69
70    com::sun::star::lang::XComponent getEmpty2();
71
72    XTest3 getFull();
73};
74
75service CppSupplier: XSupplier;
76
77service JavaSupplier: XSupplier;
78
79}; }; };
80
81#endif
82