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#ifndef __com_sun_star_ui_UIConfigurationManager_idl__
24#define __com_sun_star_ui_UIConfigurationManager_idl__
25
26#ifndef __com_sun_star_lang_XComponent_idl__
27#include <com/sun/star/lang/XComponent.idl>
28#endif
29
30#ifndef __com_sun_star_ui_XUIConfiguration_idl__
31#include <com/sun/star/ui/XUIConfiguration.idl>
32#endif
33
34#ifndef __com_sun_star_ui_XUIConfigurationManager_idl__
35#include <com/sun/star/ui/XUIConfigurationManager.idl>
36#endif
37
38#ifndef __com_sun_star_ui_XUIConfigurationPersistence_idl__
39#include <com/sun/star/ui/XUIConfigurationPersistence.idl>
40#endif
41
42#ifndef __com_sun_star_ui_XUIConfigurationStorage_idl__
43#include <com/sun/star/ui/XUIConfigurationStorage.idl>
44#endif
45
46module com { module sun { module star { module ui {
47
48/** specifies a user interface configuration manager which controls
49    all customizeable user interface elements of an object.
50
51    @since OOo 2.0
52*/
53
54service UIConfigurationManager
55{
56    /** provides access to set a storage and to check if a storage has been
57        associated to the user interface configuration manager.
58    */
59    interface com::sun::star::ui::XUIConfigurationStorage;
60
61    /** provides access to persistence functions to load/store user interface configuration
62        data from a storage.
63    */
64    interface com::sun::star::ui::XUIConfigurationPersistence;
65
66    /** provides functions to change, insert and remove user interface elements
67        from a user interface configuration manager.
68    */
69    interface com::sun::star::ui::XUIConfigurationManager;
70
71    /** provides functions to add and remove listeners for changes within a user
72        interface configuration manager.
73    */
74    interface com::sun::star::ui::XUIConfiguration;
75
76    /** allows controlling or observing the lifetime of a user interface configuration manager
77        instance.
78
79    <p>The owner of the object may dispose of this object using
80    <member scope="com::sun::star::lang">XComponent::dispose()</member>.
81    </p>
82    */
83    interface ::com::sun::star::lang::XComponent;
84};
85
86//=============================================================================
87
88}; }; }; };
89
90#endif
91