merge the formfield patch from ooo-build
[ooovba.git] / shell / source / backends / kde4be / kde4inetlayer.hxx
blob1724628f9f5bd77cadee06d92eb5e4db64bb0fc6
1 #pragma once
3 #include <QString>
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 ;
20 /**
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>
26 public :
27 /**
28 Constructor given the component context
30 @param xContext The component context
33 KDEInetLayer(const uno::Reference<uno::XComponentContext>& xContext);
35 // XLayer
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) ;
43 // XTimeStamped
44 virtual rtl::OUString SAL_CALL getTimestamp(void)
45 throw (uno::RuntimeException);
47 protected:
49 /** Destructor */
50 ~KDEInetLayer(void) {}
52 private :
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;