Files
libreoffice/shell/source/backends/kdebe/kdevcllayer.hxx
Rüdiger Timm 95a848d10b INTEGRATION: CWS changefileheader (1.2.160); FILE MERGED
2008/04/01 15:40:12 thb 1.2.160.2: #i85898# Stripping all external header guards
2008/04/01 12:41:10 thb 1.2.160.1: #i85898# Stripping all external header guards
2008-04-11 07:00:28 +00:00

57 lines
1.6 KiB
C++

#ifndef KDEVCLLAYER_HXX_
#define KDEVCLLAYER_HXX_
#include "kdebackend.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/configuration/backend/XLayer.hpp>
#include <com/sun/star/configuration/backend/BackendAccessException.hpp>
#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERCONTENTDESCIBER_HPP_
#include <com/sun/star/configuration/backend/XLayerContentDescriber.hpp>
#endif
#include <com/sun/star/util/XTimeStamped.hpp>
#include <cppuhelper/implbase2.hxx>
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