Files
libreoffice/shell/source/backends/kdebe/kdevcllayer.hxx
Vladimir Glazounov 4c032dbb44 INTEGRATION: CWS kdesettings (1.1.2); FILE ADDED
2006/04/11 12:40:16 ebischoff 1.1.2.1: Issue #63557
Have OOo use KDE system-wide settings
2006-06-02 11:26:54 +00:00

73 lines
1.9 KiB
C++

#ifndef KDEVCLLAYER_HXX_
#define KDEVCLLAYER_HXX_
#ifndef KDEBACKEND_HXX_
#include "kdebackend.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HPP_
#include <com/sun/star/uno/XComponentContext.hpp>
#endif
#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYER_HPP_
#include <com/sun/star/configuration/backend/XLayer.hpp>
#endif
#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_BACKENDACCESSEXCEPTION_HPP_
#include <com/sun/star/configuration/backend/BackendAccessException.hpp>
#endif
#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERCONTENTDESCIBER_HPP_
#include <com/sun/star/configuration/backend/XLayerContentDescriber.hpp>
#endif
#ifndef _COM_SUN_STAR_UTIL_XTIMESTAMPED_HPP_
#include <com/sun/star/util/XTimeStamped.hpp>
#endif
#ifndef _CPPUHELPER_IMPLBASE2_HXX_
#include <cppuhelper/implbase2.hxx>
#endif
namespace css = com::sun::star ;
namespace uno = css::uno ;
namespace lang = css::lang ;
namespace backend = css::configuration::backend ;
namespace util = css::util ;
/**
Implementation of the XLayer interface for the KDE values mapped into
the org.openoffice.VCL configuration component.
*/
class KDEVCLLayer : public cppu::WeakImplHelper2<backend::XLayer, util::XTimeStamped>
{
public :
/**
Constructor given the component context
@param xContext The component context
*/
KDEVCLLayer(const uno::Reference<uno::XComponentContext>& xContext);
// XLayer
virtual void SAL_CALL readData(
const uno::Reference<backend::XLayerHandler>& xHandler)
throw ( backend::MalformedDataException,
lang::NullPointerException,
lang::WrappedTargetException,
uno::RuntimeException) ;
// XTimeStamped
virtual rtl::OUString SAL_CALL getTimestamp(void)
throw (uno::RuntimeException);
protected:
/** Destructor */
~KDEVCLLayer(void) {}
private :
uno::Reference<backend::XLayerContentDescriber> m_xLayerContentDescriber ;
} ;
#endif // KDEVCLLAYER