3 #include "kde4backend.hxx"
4 #include <com/sun/star/uno/XComponentContext.hpp>
5 #include <com/sun/star/configuration/backend/XLayer.hpp>
6 #include <com/sun/star/configuration/backend/BackendAccessException.hpp>
7 #include <com/sun/star/configuration/backend/XLayerContentDescriber.hpp>
8 #include <com/sun/star/util/XTimeStamped.hpp>
9 #include <cppuhelper/implbase2.hxx>
11 namespace css
= com::sun::star
;
12 namespace uno
= css::uno
;
13 namespace lang
= css::lang
;
14 namespace backend
= css::configuration::backend
;
15 namespace util
= css::util
;
18 Implementation of the XLayer interface for the KDE values mapped into
19 the org.openoffice.Office.Common configuration component.
21 class KDECommonLayer
: public cppu::WeakImplHelper2
<backend::XLayer
, util::XTimeStamped
>
25 Constructor given the component context
27 @param xContext The component context
30 KDECommonLayer(const uno::Reference
<uno::XComponentContext
>& xContext
);
33 virtual void SAL_CALL
readData(
34 const uno::Reference
<backend::XLayerHandler
>& xHandler
)
35 throw ( backend::MalformedDataException
,
36 lang::NullPointerException
,
37 lang::WrappedTargetException
,
38 uno::RuntimeException
) ;
41 virtual rtl::OUString SAL_CALL
getTimestamp(void)
42 throw (uno::RuntimeException
);
47 ~KDECommonLayer(void) {}
50 uno::Reference
<backend::XLayerContentDescriber
> m_xLayerContentDescriber
;