1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_CPPUHELPER_SOURCE_LOADSHAREDLIBCOMPONENTFACTORY_HXX
11 #define INCLUDED_CPPUHELPER_SOURCE_LOADSHAREDLIBCOMPONENTFACTORY_HXX
13 #include <sal/config.h>
15 #include <com/sun/star/uno/Reference.hxx>
17 #include "servicemanager.hxx"
19 namespace com
{ namespace sun
{ namespace star
{
20 namespace lang
{ class XMultiServiceFactory
; }
27 namespace cppuhelper
{ namespace detail
{
29 css::uno::Environment
getEnvironment(
30 OUString
const & name
, OUString
const & implementation
);
32 void loadSharedLibComponentFactory(
33 OUString
const & uri
, OUString
const & environment
,
34 OUString
const & prefix
, OUString
const & implementation
,
35 OUString
const & constructor
,
36 css::uno::Reference
<css::lang::XMultiServiceFactory
> const & serviceManager
,
37 WrapperConstructorFn
* constructorFunction
,
38 css::uno::Reference
<css::uno::XInterface
> * factory
);
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */