Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / cppuhelper / source / loadsharedlibcomponentfactory.hxx
blob9e870f459455cfe3a803b55f31e1db4270d8e375
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
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; }
21 namespace uno {
22 class Environment;
23 class XInterface;
25 } } }
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);
40 } }
42 #endif
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */