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 #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,
25 { nullptr, nullptr, nullptr, nullptr, nullptr, 0 } };
27 extern "C" SAL_DLLPUBLIC_EXPORT
void*
28 WinUserInfoBe_component_getFactory(const sal_Char
* aImplementationName
, void* aServiceManager
,
31 return cppu::component_getFactoryHelper(aImplementationName
, aServiceManager
, aRegistryKey
,
32 kImplementations_entries
);
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */