1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef __testtools_servicetests_TestService1_idl__
21#define __testtools_servicetests_TestService1_idl__
22
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>
30
31module test { module cppuhelper { module propertysetmixin {
32
33interface XTest1 {
34    [attribute] long First;
35};
36
37interface XTest2 {
38    [attribute, bound]
39    com::sun::star::beans::Ambiguous<
40        com::sun::star::beans::Defaulted<
41             com::sun::star::beans::Optional< long > > > Second
42    {
43        get raises (com::sun::star::beans::UnknownPropertyException);
44        set raises (
45            com::sun::star::beans::PropertyVetoException,
46            com::sun::star::beans::UnknownPropertyException);
47    };
48};
49
50interface 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);
56    };
57    [attribute] long Fourth {
58        get raises (com::sun::star::beans::UnknownPropertyException);
59        set raises (com::sun::star::beans::UnknownPropertyException);
60    };
61};
62
63interface XSupplier {
64    com::sun::star::lang::XComponent getEmpty1();
65
66    com::sun::star::lang::XComponent getEmpty2();
67
68    XTest3 getFull();
69};
70
71service CppSupplier: XSupplier;
72
73service JavaSupplier: XSupplier;
74
75}; }; };
76
77#endif
78
79/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
80