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_frame_XConfigManager_idl__
24#define __com_sun_star_frame_XConfigManager_idl__
25
26#ifndef __com_sun_star_uno_XInterface_idl__
27#include <com/sun/star/uno/XInterface.idl>
28#endif
29
30#ifndef __com_sun_star_beans_XPropertyChangeListener_idl__
31#include <com/sun/star/beans/XPropertyChangeListener.idl>
32#endif
33
34//============================================================================
35
36 module com {
37  module sun {
38   module star {
39    module frame {
40
41//============================================================================
42/** @deprecated
43 */
44published interface XConfigManager: com::sun::star::uno::XInterface
45{
46	//-------------------------------------------------------------------------
47    /** add a listener to notify changes on well known variables
48        inside the real implementation
49
50        <p>
51        Listener can update his text values by calling <member>XConfigManager::substituteVariables()</member>
52        again. If <var>KeyName</var> specifies a group of keys, the listener gets one notify for each subkey.
53        </p>
54
55        @param KeyName
56            specifies variable about listener will be informed on changes
57
58        @param Listener
59            listener which will be informed
60
61        @see XConfigManager::removePropertyChangeListener()
62
63        @deprecated
64	*/
65    [oneway] void addPropertyChangeListener(
66        [in] string KeyName,
67        [in] com::sun::star::beans::XPropertyChangeListener Listener );
68
69	//-------------------------------------------------------------------------
70    /** remove a registered listener
71
72        @param KeyName
73            specifies variable on which listener was registered
74
75        @param Listener
76            listener which will be deregistered
77
78        @see XConfigManager::addPropertyChangeListener()
79
80        @deprecated
81	 */
82    [oneway] void removePropertyChangeListener(
83        [in] string KeyName,
84        [in] com::sun::star::beans::XPropertyChangeListener Listener);
85
86	//-------------------------------------------------------------------------
87    /** substitute variables (place holder) inside given parameter <var>Text</var>
88
89		<p>
90        The value of <var>Text</var> is NOT changed.
91        </p>
92
93        @param Text
94            original value including variables
95
96        @return
97            changed copy of <var>Text</var> without any variables
98	 */
99    string substituteVariables( [in] string Text );
100
101	//-------------------------------------------------------------------------
102    /** was designed for additional functionality for interface <type scope="com::sun::star::registry">XSimpleRegistry</type>
103        and make no sense without that
104        @deprecated
105	 */
106    [oneway] void flush();
107
108}; //XConfigManager
109}; //frame
110}; //star
111}; //sun
112}; //com
113
114#endif
115