LibreOffice Module cppuhelper (master) 1
loadsharedlibcomponentfactory.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 */
9
10#pragma once
11
12#include <sal/config.h>
13
14#include <com/sun/star/uno/Reference.hxx>
15
16#include "servicemanager.hxx"
17
18namespace com::sun::star {
19 namespace lang { class XMultiServiceFactory; }
20 namespace uno {
21 class Environment;
22 class XInterface;
23 }
24}
25
27
28css::uno::Environment getEnvironment(
29 OUString const & name, std::u16string_view implementation);
30
32 OUString const & uri, OUString const & environment,
33 OUString const & prefix, OUString const & implementation,
34 OUString const & constructor,
35 css::uno::Reference<css::lang::XMultiServiceFactory> const & serviceManager,
36 WrapperConstructorFn * constructorFunction,
37 css::uno::Reference<css::uno::XInterface> * factory);
38
39}
40
41/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const char * name
css::uno::Environment getEnvironment(OUString const &name, std::u16string_view implementation)
Definition: shlib.cxx:49
void loadSharedLibComponentFactory(OUString const &uri, OUString const &environment, OUString const &prefix, OUString const &implementation, OUString const &constructor, css::uno::Reference< css::lang::XMultiServiceFactory > const &serviceManager, WrapperConstructorFn *constructorFunction, css::uno::Reference< css::uno::XInterface > *factory)
Definition: shlib.cxx:240
std::function< css::uno::XInterface *(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)> WrapperConstructorFn