diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-31 12:14:49 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-31 12:14:49 +0000 |
commit | f5fd0819fa289ddf568aa5fca3dd91515f5bf93b (patch) | |
tree | 638fdfe8044e05b5a1f1b32f5da216bb4a4ff945 /shell | |
parent | 5c1abc6efe5edc44eaba55de64db19b03e87566f (diff) |
INTEGRATION: CWS vcl35 (1.3.32); FILE REMOVED
2005/01/21 07:01:57 obr 1.3.32.1: #i40639# returning the value or some hash value to avoid regenerating the binary cache on each office launch
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/gconfbe/gconflayer.hxx | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/shell/source/backends/gconfbe/gconflayer.hxx b/shell/source/backends/gconfbe/gconflayer.hxx deleted file mode 100644 index 407994e8ec22..000000000000 --- a/shell/source/backends/gconfbe/gconflayer.hxx +++ /dev/null @@ -1,96 +0,0 @@ -#ifndef GCONFLAYER_HXX_ -#define GCONFLAYER_HXX_ - -#ifndef GCONFBACKEND_HXX_ -#include "gconfbackend.hxx" -#endif // GCONFBACKEND_HXX_ - -#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 // _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYER_HPP_ - -#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_BACKENDACCESSEXCEPTION_HPP_ -#include <com/sun/star/configuration/backend/BackendAccessException.hpp> -#endif // _COM_SUN_STAR_CONFIGURATION_BACKEND_BACKENDACCESSEXCEPTION_HPP_ - -#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERCONTENTDESCIBER_HPP_ -#include <com/sun/star/configuration/backend/XLayerContentDescriber.hpp> -#endif // _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERCONTENTDESCIBER_HPP_ - -#ifndef _COM_SUN_STAR_UTIL_XTIMESTAMPED_HPP_ -#include <com/sun/star/util/XTimeStamped.hpp> -#endif // _COM_SUN_STAR_UTIL_XTIMESTAMPED_HPP_ - -#ifndef _CPPUHELPER_IMPLBASE2_HXX_ -#include <cppuhelper/implbase2.hxx> -#endif // _CPPUHELPER_IMPLBASE2_HXX_ - - -#include <gconf/gconf-client.h> - -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 Gconf. - The class performs the read of the contents of a component - for a given entity. - The read data is then available through the read data of base class - BasicPlatformLayer - The timestamp indicates the last modification time - */ -class GconfLayer : public cppu::WeakImplHelper2<backend::XLayer, util::XTimeStamped> -{ - public : - /** - Constructor given the configuration keys map and requested - component name. - - @param aTimestamp timestamp indicating last modifictaion - @param aComponentName Requested Component Name - @param aKeyMap Gconf->OO key map - */ - - GconfLayer( const rtl::OUString& aComponent, - const rtl::OUString& aTimestamp, - 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 */ - ~GconfLayer(void) {} - - private : - /** Convert Gconf Value to OO value */ -/* void convertGconfValue( - const GConfValue* aValue, - uno::Any* aOOValue, - const rtl::OUString& OOType ); -*/ - /** Timestamp of Gconf layer */ - rtl::OUString m_aTimestamp ; - rtl::OUString m_aComponent ; - - uno::Reference<backend::XLayerContentDescriber> m_xLayerContentDescriber ; - } ; - -#endif // GCONFLAYER |