Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / extensions / source / config / WinUserInfo / componentdef.cxx
blob7d8ff550445dd58469bc1610b21b8c45051a9d27
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 #include "WinUserInfoBe.hxx"
11 #include <cppuhelper/implementationentry.hxx>
13 using namespace extensions::config::WinUserInfo;
15 static css::uno::Reference<css::uno::XInterface>
16 createWinUserInfoBe(const css::uno::Reference<css::uno::XComponentContext>& aContext)
18 return *new WinUserInfoBe(aContext);
21 static const cppu::ImplementationEntry kImplementations_entries[]
22 = { { createWinUserInfoBe, WinUserInfoBe::getWinUserInfoBeName,
23 WinUserInfoBe::getWinUserInfoBeServiceNames, cppu::createSingleComponentFactory, nullptr,
24 0 },
25 { nullptr, nullptr, nullptr, nullptr, nullptr, 0 } };
27 extern "C" SAL_DLLPUBLIC_EXPORT void*
28 WinUserInfoBe_component_getFactory(const sal_Char* aImplementationName, void* aServiceManager,
29 void* aRegistryKey)
31 return cppu::component_getFactoryHelper(aImplementationName, aServiceManager, aRegistryKey,
32 kImplementations_entries);
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */