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
; }
26 namespace rtl
{ class OUString
; }
28 namespace cppuhelper
{ namespace detail
{
30 css::uno::Environment
getEnvironment(
31 rtl::OUString
const & name
, rtl::OUString
const & implementation
);
33 void loadSharedLibComponentFactory(
34 rtl::OUString
const & uri
, rtl::OUString
const & environment
,
35 rtl::OUString
const & prefix
, rtl::OUString
const & implementation
,
36 rtl::OUString
const & constructor
,
37 css::uno::Reference
<css::lang::XMultiServiceFactory
> const & serviceManager
,
38 ImplementationConstructorFn
** constructorFunction
,
39 css::uno::Reference
<css::uno::XInterface
> * factory
);
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */