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 __com_sun_star_frame_ModuleManager_idl__
25#define __com_sun_star_frame_ModuleManager_idl__
26
27#ifndef __com_sun_star_frame_XModuleManager_idl__
28#include <com/sun/star/frame/XModuleManager.idl>
29#endif
30
31#ifndef __com_sun_star_container_XNameAccess_idl__
32#include <com/sun/star/container/XNameAccess.idl>
33#endif
34
35//===============================================
36
37module com { module sun { module star { module frame {
38
39//===============================================
40/** can be used to identify office modules.
41
42    <p>
43    Further it provides read access to the configuration
44    of office modules.
45    </p>
46
47    @since OpenOffice 2.0
48 */
49
50published service ModuleManager
51{
52    //-------------------------------------------
53    /** provides functions to identify office modules.
54     */
55    interface XModuleManager;
56
57    //-------------------------------------------
58    /** provides read access to the configuration of office modules.
59
60        <p>
61        Every module is referenced by an unique service name
62        (which is used inside configuration as set node name too)
63        and is further represented by a sequence of elements of type
64        <type scope="com::sun::star::beans">PropertyValue</type>.
65        A list of properties can be getted from the configuration template
66        org.openoffice.Setup/Factory.
67        </p>
68     */
69    interface ::com::sun::star::container::XNameAccess;
70};
71
72}; }; }; };
73
74#endif
75