5 #include "kde4backend.hxx"
7 #include <com/sun/star/uno/XComponentContext.hpp>
8 #include <com/sun/star/configuration/backend/XLayer.hpp>
9 #include <com/sun/star/configuration/backend/BackendAccessException.hpp>
10 #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.Inet configuration component.
24 class KDEInetLayer
: public cppu::WeakImplHelper2
<backend::XLayer
, util::XTimeStamped
>
28 Constructor given the component context
30 @param xContext The component context
33 KDEInetLayer(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
);
50 ~KDEInetLayer(void) {}
53 uno::Reference
<backend::XLayerContentDescriber
> m_xLayerContentDescriber
;
55 void SAL_CALL setProxy
56 (uno::Sequence
<backend::PropertyInfo
> &aPropInfoList
, sal_Int32
&nProperties
,
57 int nProxyType
, const QString
&aNoProxyfor
= QString(),
58 const QString
&aHTTPProxy
= QString(), const QString
&aFTPProxy
= QString(), const QString
&aHTTPSProxy
= QString()) const;