3 #include "kde4backend.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 #include <com/sun/star/configuration/backend/XLayerContentDescriber.hpp>
9 #include <com/sun/star/util/XTimeStamped.hpp>
11 #include <cppuhelper/implbase2.hxx>
13 namespace css
= com::sun::star
;
14 namespace uno
= css::uno
;
15 namespace lang
= css::lang
;
16 namespace backend
= css::configuration::backend
;
17 namespace util
= css::util
;
20 Implementation of the XLayer interface for the KDE values mapped into
21 the org.openoffice.VCL configuration component.
23 class KDEVCLLayer
: public cppu::WeakImplHelper2
<backend::XLayer
, util::XTimeStamped
>
27 Constructor given the component context
29 @param xContext The component context
32 KDEVCLLayer(const uno::Reference
<uno::XComponentContext
>& xContext
);
35 virtual void SAL_CALL
readData(
36 const uno::Reference
<backend::XLayerHandler
>& xHandler
)
37 throw ( backend::MalformedDataException
,
38 lang::NullPointerException
,
39 lang::WrappedTargetException
,
40 uno::RuntimeException
) ;
43 virtual rtl::OUString SAL_CALL
getTimestamp(void)
44 throw (uno::RuntimeException
);
52 uno::Reference
<backend::XLayerContentDescriber
> m_xLayerContentDescriber
;