summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/browser/dbtreemodel.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:20:17 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:20:17 +0000
commit01e4ba9179ecbaabb9b0d7b2e8d637867af3a006 (patch)
treeb3e1e66f1624c1d76fabea12dbba1e9ebeef4020 /dbaccess/source/ui/browser/dbtreemodel.hxx
parentINTEGRATION: CWS dba201b (1.22.22); FILE MERGED (diff)
downloadcore-01e4ba9179ecbaabb9b0d7b2e8d637867af3a006.tar.gz
core-01e4ba9179ecbaabb9b0d7b2e8d637867af3a006.zip
INTEGRATION: CWS dba201b (1.14.118); FILE MERGED
2005/09/21 07:55:16 oj 1.14.118.2: RESYNC: (1.14-1.15); FILE MERGED 2005/07/20 10:12:11 fs 1.14.118.1: #i51255# xObject replaced with 3 typed members, plus a ModelControllerConnector to ensure that a model stays alive as long as the respective data source is connected
Diffstat (limited to 'dbaccess/source/ui/browser/dbtreemodel.hxx')
-rw-r--r--dbaccess/source/ui/browser/dbtreemodel.hxx22
1 files changed, 19 insertions, 3 deletions
diff --git a/dbaccess/source/ui/browser/dbtreemodel.hxx b/dbaccess/source/ui/browser/dbtreemodel.hxx
index e08e6df0baba..372501e16e38 100644
--- a/dbaccess/source/ui/browser/dbtreemodel.hxx
+++ b/dbaccess/source/ui/browser/dbtreemodel.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dbtreemodel.hxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 14:27:13 $
+ * last change: $Author: hr $ $Date: 2005-09-23 12:20:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -51,6 +51,12 @@
#ifndef _SBA_UNODATBR_HXX_
#include "unodatbr.hxx"
#endif
+#ifndef DBACCESS_SOURCE_UI_INC_DOCUMENTCONTROLLER_HXX
+#include "documentcontroller.hxx"
+#endif
+#ifndef _DBAUI_COMMON_TYPES_HXX_
+#include "commontypes.hxx"
+#endif
// syntax of the tree userdata
// datasource holds the connection
@@ -74,8 +80,18 @@ namespace dbaui
public:
struct DBTreeListUserData
{
+ /// if the entry denotes a table or query, this is the respective UNO object
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
+ xObjectProperties;
+ /// if the entry denotes a object container, this is the UNO interface for this container
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
- xObject;
+ xContainer;
+ /// if the entry denotes a data source, this is the connection for this data source (if already connection)
+ SharedConnection xConnection;
+ /** if the entry denotes a data source, this is the connector between the model and the controller,
+ keeping the model alive as long as necessary
+ */
+ ModelControllerConnector aController;
SbaTableQueryBrowser::EntryType eType;
String sAccessor;