1*6da5f311SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*6da5f311SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*6da5f311SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*6da5f311SAndrew Rist  * distributed with this work for additional information
6*6da5f311SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*6da5f311SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*6da5f311SAndrew Rist  * "License"); you may not use this file except in compliance
9*6da5f311SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*6da5f311SAndrew Rist  *
11*6da5f311SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*6da5f311SAndrew Rist  *
13*6da5f311SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*6da5f311SAndrew Rist  * software distributed under the License is distributed on an
15*6da5f311SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*6da5f311SAndrew Rist  * KIND, either express or implied.  See the License for the
17*6da5f311SAndrew Rist  * specific language governing permissions and limitations
18*6da5f311SAndrew Rist  * under the License.
19*6da5f311SAndrew Rist  *
20*6da5f311SAndrew Rist  *************************************************************/
21*6da5f311SAndrew Rist 
22*6da5f311SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef CPPUHELPER_SOURCE_MACRO_EXPANDER_HXX
25cdf0e10cSrcweir #define CPPUHELPER_SOURCE_MACRO_EXPANDER_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include "sal/config.h"
28cdf0e10cSrcweir 
29cdf0e10cSrcweir namespace rtl { class OUString; }
30cdf0e10cSrcweir 
31cdf0e10cSrcweir namespace cppuhelper {
32cdf0e10cSrcweir 
33cdf0e10cSrcweir namespace detail {
34cdf0e10cSrcweir 
35cdf0e10cSrcweir /**
36cdf0e10cSrcweir  * Helper function to expand macros based on the unorc/uno.ini.
37cdf0e10cSrcweir  *
38cdf0e10cSrcweir  * @internal
39cdf0e10cSrcweir  *
40cdf0e10cSrcweir  * @param text
41cdf0e10cSrcweir  * Some text.
42cdf0e10cSrcweir  *
43cdf0e10cSrcweir  * @return
44cdf0e10cSrcweir  * The expanded text.
45cdf0e10cSrcweir  *
46cdf0e10cSrcweir  * @exception com::sun::star::lang::IllegalArgumentException
47cdf0e10cSrcweir  * If uriReference is a vnd.sun.star.expand URL reference that contains unknown
48cdf0e10cSrcweir  * macros.
49cdf0e10cSrcweir  */
50cdf0e10cSrcweir ::rtl::OUString expandMacros(rtl::OUString const & text);
51cdf0e10cSrcweir 
52cdf0e10cSrcweir }
53cdf0e10cSrcweir 
54cdf0e10cSrcweir }
55cdf0e10cSrcweir 
56cdf0e10cSrcweir #endif
57