User: hr Date: 05/09/23 05:20:20 Modified: /dba/dbaccess/source/ui/browser/ dbtreemodel.hxx
Log: 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 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.15&r2=1.16 Delta lines: +17 -1 -------------------- --- dbtreemodel.hxx 8 Sep 2005 14:27:13 -0000 1.15 +++ dbtreemodel.hxx 23 Sep 2005 12:20:17 -0000 1.16 @@ -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 @@ 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]
