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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
23 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
24 #include <com/sun/star/lang/XTypeProvider.hpp>
25 #include <com/sun/star/lang/XServiceInfo.hpp>
26 #include <com/sun/star/beans/XPropertySetInfo.hpp>
27 #include <cppuhelper/weak.hxx>
28 #include <osl/mutex.hxx>
29 #include <ucbhelper/macros.hxx>
31 //=========================================================================
33 #define PROPERTIES_MANAGER_SERVICE_NAME "com.sun.star.ucb.PropertiesManager"
35 //============================================================================
37 // class UcbPropertiesManager.
39 //============================================================================
41 class UcbPropertiesManager
:
42 public cppu::OWeakObject
,
43 public com::sun::star::lang::XTypeProvider
,
44 public com::sun::star::lang::XServiceInfo
,
45 public com::sun::star::beans::XPropertySetInfo
47 com::sun::star::uno::Sequence
< com::sun::star::beans::Property
>*
52 sal_Bool
queryProperty( const OUString
& rName
,
53 com::sun::star::beans::Property
& rProp
);
56 UcbPropertiesManager( const com::sun::star::uno::Reference
<
57 com::sun::star::lang::XMultiServiceFactory
>&
59 virtual ~UcbPropertiesManager();
71 virtual com::sun::star::uno::Sequence
<
72 com::sun::star::beans::Property
> SAL_CALL
74 throw( com::sun::star::uno::RuntimeException
);
75 virtual com::sun::star::beans::Property SAL_CALL
76 getPropertyByName( const OUString
& aName
)
77 throw( com::sun::star::beans::UnknownPropertyException
,
78 com::sun::star::uno::RuntimeException
);
79 virtual sal_Bool SAL_CALL
80 hasPropertyByName( const OUString
& Name
)
81 throw( com::sun::star::uno::RuntimeException
);
84 #endif /* !_UCBPROPS_HXX */
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */