#ifndef _LOCALELAYER_HXX_ #define _LOCALELAYER_HXX_ #include #include #include #include #ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERCONTENTDESCIBER_HPP_ #include #endif #include #include #include 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 interfaces for fixed values */ class LocaleLayer : public cppu::WeakImplHelper2 { public : /** Constructor given the requested component name @param aPropInfoListyMap Gconf->OO key map @param aCompoentName Requested Component Name @param sTimestamp timestamp indicating last modifictaion */ LocaleLayer(const uno::Sequence& aPropInfoList, const rtl::OUString& aTimestamp, const uno::Reference& xContext); /** Destructor */ ~LocaleLayer(void) {} // XLayer virtual void SAL_CALL readData(const uno::Reference& xHandler) throw ( backend::MalformedDataException, lang::NullPointerException, lang::WrappedTargetException, uno::RuntimeException) ; // XTimeStamped virtual rtl::OUString SAL_CALL getTimestamp(void) throw (uno::RuntimeException); private : rtl::OUString m_aTimestamp ; rtl::OUString m_aComponent ; uno::Reference m_xLayerContentDescriber ; uno::Sequence m_aPropInfoList ; } ; #endif // _LOCALELAYER_HXX_