xref: /aoo41x/main/cppu/source/uno/loadmodule.hxx (revision c6ed87c9)
1*c6ed87c9SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*c6ed87c9SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*c6ed87c9SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*c6ed87c9SAndrew Rist  * distributed with this work for additional information
6*c6ed87c9SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*c6ed87c9SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*c6ed87c9SAndrew Rist  * "License"); you may not use this file except in compliance
9*c6ed87c9SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*c6ed87c9SAndrew Rist  *
11*c6ed87c9SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*c6ed87c9SAndrew Rist  *
13*c6ed87c9SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*c6ed87c9SAndrew Rist  * software distributed under the License is distributed on an
15*c6ed87c9SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c6ed87c9SAndrew Rist  * KIND, either express or implied.  See the License for the
17*c6ed87c9SAndrew Rist  * specific language governing permissions and limitations
18*c6ed87c9SAndrew Rist  * under the License.
19*c6ed87c9SAndrew Rist  *
20*c6ed87c9SAndrew Rist  *************************************************************/
21*c6ed87c9SAndrew Rist 
22*c6ed87c9SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef INCLUDED_CPPU_SOURCE_UNO_CREATEMODULENAME_HXX
25cdf0e10cSrcweir #define INCLUDED_CPPU_SOURCE_UNO_CREATEMODULENAME_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include "sal/config.h"
28cdf0e10cSrcweir #include "osl/module.h"
29cdf0e10cSrcweir 
30cdf0e10cSrcweir namespace rtl { class OUString; }
31cdf0e10cSrcweir 
32cdf0e10cSrcweir namespace cppu { namespace detail {
33cdf0e10cSrcweir 
34cdf0e10cSrcweir /** Load a module.
35cdf0e10cSrcweir 
36cdf0e10cSrcweir     @param name
37cdf0e10cSrcweir     the nucleus of a module name (without any "lib...so", ".dll", etc.
38cdf0e10cSrcweir     decoration, and without a path).
39cdf0e10cSrcweir 
40cdf0e10cSrcweir     @return
41cdf0e10cSrcweir     the handle returned by osl_loadModule.
42cdf0e10cSrcweir */
43cdf0e10cSrcweir ::oslModule loadModule(::rtl::OUString const & name);
44cdf0e10cSrcweir 
45cdf0e10cSrcweir } }
46cdf0e10cSrcweir 
47cdf0e10cSrcweir #endif
48