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/.
12 #include <com/sun/star/beans/XPropertySet.hpp>
13 #include <com/sun/star/lang/XServiceInfo.hpp>
14 #include <cppuhelper/compbase.hxx>
25 class XComponentContext
;
37 class WinUserInfoBe_Impl
;
39 typedef cppu::WeakComponentImplHelper
<css::beans::XPropertySet
, css::lang::XServiceInfo
>
42 struct WinUserInfoMutexHolder
47 Implements the PlatformBackend service, a specialization of the
48 XPropertySet service for retrieving Active Directory user profile
49 configuration settings.
51 class WinUserInfoBe
: private WinUserInfoMutexHolder
, public BackendBase
54 explicit WinUserInfoBe();
55 virtual ~WinUserInfoBe() override
;
58 virtual OUString SAL_CALL
getImplementationName() override
;
60 virtual sal_Bool SAL_CALL
supportsService(const OUString
& aServiceName
) override
;
62 virtual css::uno::Sequence
<OUString
> SAL_CALL
getSupportedServiceNames() override
;
65 virtual css::uno::Reference
<css::beans::XPropertySetInfo
> SAL_CALL
getPropertySetInfo() override
67 return css::uno::Reference
<css::beans::XPropertySetInfo
>();
70 virtual void SAL_CALL
setPropertyValue(OUString
const&, css::uno::Any
const&) override
;
72 virtual css::uno::Any SAL_CALL
getPropertyValue(OUString
const& PropertyName
) override
;
74 virtual void SAL_CALL
addPropertyChangeListener(
75 OUString
const&, css::uno::Reference
<css::beans::XPropertyChangeListener
> const&) override
79 virtual void SAL_CALL
removePropertyChangeListener(
80 OUString
const&, css::uno::Reference
<css::beans::XPropertyChangeListener
> const&) override
84 virtual void SAL_CALL
addVetoableChangeListener(
85 OUString
const&, css::uno::Reference
<css::beans::XVetoableChangeListener
> const&) override
89 virtual void SAL_CALL
removeVetoableChangeListener(
90 OUString
const&, css::uno::Reference
<css::beans::XVetoableChangeListener
> const&) override
95 std::unique_ptr
<WinUserInfoBe_Impl
> m_pImpl
;
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */