Tag: cws_src680_dba201b
User: fs      
Date: 05/07/20 03:12:15

Modified:
 /dba/dbaccess/source/ui/browser/
  dbtreemodel.hxx

Log:
 #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

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: dbtreemodel.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/dbtreemodel.hxx?r1=1.14&r2=1.14.118.1
Delta lines:  +20 -4
--------------------
--- dbtreemodel.hxx     22 Oct 2004 12:03:01 -0000      1.14
+++ dbtreemodel.hxx     20 Jul 2005 10:12:11 -0000      1.14.118.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: dbtreemodel.hxx,v $
  *
- *  $Revision: 1.14 $
+ *  $Revision: 1.14.118.1 $
  *
- *  last change: $Author: pjunck $ $Date: 2004/10/22 12:03:01 $
+ *  last change: $Author: fs $ $Date: 2005/07/20 10:12:11 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -77,6 +77,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
@@ -100,8 +106,18 @@
        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;
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to