diff options
author | Frank Schönheit <fs@openoffice.org> | 2000-10-18 15:05:07 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2000-10-18 15:05:07 +0000 |
commit | 8701050ea9b10d45d97bfc8f51353dda59f88ee2 (patch) | |
tree | 2bc94513f9eeebad7e3c29280f361ad7c05b263f /dbaccess/source/core/inc/commandbase.hxx | |
parent | 1931d3f6ef697345c67bb79f7f821d06b4009ad5 (diff) |
put into a namespace / persistence implemented by using configuration, not a registry
Diffstat (limited to 'dbaccess/source/core/inc/commandbase.hxx')
-rw-r--r-- | dbaccess/source/core/inc/commandbase.hxx | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/dbaccess/source/core/inc/commandbase.hxx b/dbaccess/source/core/inc/commandbase.hxx index df5a30365797..e28cdc2080bb 100644 --- a/dbaccess/source/core/inc/commandbase.hxx +++ b/dbaccess/source/core/inc/commandbase.hxx @@ -2,9 +2,9 @@ * * $RCSfile: commandbase.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2000-10-05 09:37:27 $ + * last change: $Author: fs $ $Date: 2000-10-18 16:05:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,11 +66,16 @@ #include <com/sun/star/registry/XRegistryKey.hpp> #endif +//........................................................................ +namespace dbaccess +{ +//........................................................................ + +class OConfigurationNode; //========================================================================== //= OCommandBase - a base class (in fact just a container for some members) //= for classes implementing the sdb.CommandDefinition service //========================================================================== - class OCommandBase { protected: @@ -87,18 +92,20 @@ protected: OCommandBase() : m_bEscapeProcessing(sal_True) { } /** store all configuration relevant informations under the given configuration node - @param _rxConfigLocation the configuration node. must not be readonly + @param _rConfigLocation the configuration node. must not be readonly */ - virtual void storeTo( - const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >& _rxConfigLocation); + virtual void storeTo(const OConfigurationNode& _rConfigLocation); /** initialize with the informations stored under the given configuration node - @param _rxConfigLocation the configuration node. + @param _rConfigLocation the configuration node. */ - virtual void initializeFrom( - const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >& _rxConfigLocation); + virtual void initializeFrom(const OConfigurationNode& _rConfigLocation); }; +//........................................................................ +} // namespace dbaccess +//........................................................................ + #endif // _DBA_CORE_COMMANDBASE_HXX_ |