1 #ifndef KDEVCLLAYER_HXX_
2 #define KDEVCLLAYER_HXX_
4 #include "kdebackend.hxx"
5 #include <com/sun/star/uno/XComponentContext.hpp>
6 #include <com/sun/star/configuration/backend/XLayer.hpp>
7 #include <com/sun/star/configuration/backend/BackendAccessException.hpp>
8 #ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERCONTENTDESCIBER_HPP_
9 #include <com/sun/star/configuration/backend/XLayerContentDescriber.hpp>
11 #include <com/sun/star/util/XTimeStamped.hpp>
12 #include <cppuhelper/implbase2.hxx>
14 namespace css
= com::sun::star
;
15 namespace uno
= css::uno
;
16 namespace lang
= css::lang
;
17 namespace backend
= css::configuration::backend
;
18 namespace util
= css::util
;
21 Implementation of the XLayer interface for the KDE values mapped into
22 the org.openoffice.VCL configuration component.
24 class KDEVCLLayer
: public cppu::WeakImplHelper2
<backend::XLayer
, util::XTimeStamped
>
28 Constructor given the component context
30 @param xContext The component context
33 KDEVCLLayer(const uno::Reference
<uno::XComponentContext
>& xContext
);
36 virtual void SAL_CALL
readData(
37 const uno::Reference
<backend::XLayerHandler
>& xHandler
)
38 throw ( backend::MalformedDataException
,
39 lang::NullPointerException
,
40 lang::WrappedTargetException
,
41 uno::RuntimeException
) ;
44 virtual rtl::OUString SAL_CALL
getTimestamp(void)
45 throw (uno::RuntimeException
);
53 uno::Reference
<backend::XLayerContentDescriber
> m_xLayerContentDescriber
;