summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/dataaccess/commanddefinition.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-10-18 15:16:39 +0000
committerFrank Schönheit <fs@openoffice.org>2000-10-18 15:16:39 +0000
commitf485b30407f451640be79b1c00ad4119109d33e7 (patch)
treef41d2802ae5cb3cd26f23d239e25b2c923a5bc6b /dbaccess/source/core/dataaccess/commanddefinition.hxx
parent9feccdfb58ea5ddf0b338d427a25bbc112c56624 (diff)
put into a namespace / persistence implemented by using configuration, not a registry
Diffstat (limited to 'dbaccess/source/core/dataaccess/commanddefinition.hxx')
-rw-r--r--dbaccess/source/core/dataaccess/commanddefinition.hxx21
1 files changed, 15 insertions, 6 deletions
diff --git a/dbaccess/source/core/dataaccess/commanddefinition.hxx b/dbaccess/source/core/dataaccess/commanddefinition.hxx
index 5451646a9e3a..98555fc369ca 100644
--- a/dbaccess/source/core/dataaccess/commanddefinition.hxx
+++ b/dbaccess/source/core/dataaccess/commanddefinition.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: commanddefinition.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: fs $ $Date: 2000-10-11 11:19:39 $
+ * last change: $Author: fs $ $Date: 2000-10-18 16:15:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,6 +95,11 @@
#include <comphelper/proparrhlp.hxx>
#endif
+//........................................................................
+namespace dbaccess
+{
+//........................................................................
+
//==========================================================================
//= OCommandDefinition - a database "document" which describes a query
//==========================================================================
@@ -125,7 +130,7 @@ public:
OCommandDefinition(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxContainer,
const ::rtl::OUString& _rElementName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >& _rxConfigurationRoot
+ const OConfigurationTreeRoot& _rConfigRoot
);
// ::com::sun::star::uno::XInterface
@@ -155,18 +160,18 @@ public:
virtual void inserted(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxContainer,
const ::rtl::OUString& _rElementName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >& _rxConfigRoot);
+ const OConfigurationTreeRoot& _rConfigRoot);
virtual void removed();
- virtual sal_Bool isContainerElement() const { return m_xConfigurationNode.is(); }
+ virtual sal_Bool isContainerElement() const { return m_aConfigurationNode.isValid(); }
protected:
// OPropertyArrayUsageHelper
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
// OConfigurationFlushable
- void flush_NoBroadcast( ) throw(::com::sun::star::uno::RuntimeException);
+ void flush_NoBroadcast_NoCommit( ) throw(::com::sun::star::uno::RuntimeException);
// initialize the members from the current configuration node
void initializeFromConfiguration();
@@ -176,6 +181,10 @@ private:
void registerProperties();
};
+//........................................................................
+} // namespace dbaccess
+//........................................................................
+
#endif // _DBA_COREDATAACESS_COMMANDDEFINITION_HXX_