diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-25 11:40:53 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-25 11:40:53 +0000 |
commit | 78db9cd91055da435623264800c082ff026ee7da (patch) | |
tree | 45f244a3ac8dd7fc8994f5d3038c3a7de2424be6 /dbaccess/source/ui/browser/dbtreemodel.hxx | |
parent | 89d97fbffd85c62db47b63191b60e91b952c2cb3 (diff) |
INTEGRATION: CWS dba30d (1.20.30); FILE MERGED
2008/06/10 08:34:44 fs 1.20.30.2: #i80943#
2008/06/01 20:56:41 fs 1.20.30.1: during #i80943#: DBTreeListUserData is no sub-class anymore
Diffstat (limited to 'dbaccess/source/ui/browser/dbtreemodel.hxx')
-rw-r--r-- | dbaccess/source/ui/browser/dbtreemodel.hxx | 51 |
1 files changed, 22 insertions, 29 deletions
diff --git a/dbaccess/source/ui/browser/dbtreemodel.hxx b/dbaccess/source/ui/browser/dbtreemodel.hxx index 48e88e31be97..c608d7089fb7 100644 --- a/dbaccess/source/ui/browser/dbtreemodel.hxx +++ b/dbaccess/source/ui/browser/dbtreemodel.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dbtreemodel.hxx,v $ - * $Revision: 1.20 $ + * $Revision: 1.21 $ * * This file is part of OpenOffice.org. * @@ -47,42 +47,35 @@ #include "commontypes.hxx" #endif -// syntax of the tree userdata -// datasource holds the connection -// queries holds the nameaccess for the queries -// query holds the query -// tables holds the nameaccess for the tables -// table holds the table -// bookmarks holds the nameaccess for the document links -// table holds the document links +// syntax of the tree userdata +// datasource holds the connection +// queries holds the nameaccess for the queries +// query holds the query +// tables holds the nameaccess for the tables +// table holds the table +#define CONTAINER_QUERIES ULONG( 0 ) +#define CONTAINER_TABLES ULONG( 1 ) namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } namespace dbaui { - //======================================================================== - //= DBTreeListModel - //======================================================================== - class DBTreeListModel : public SvLBoxTreeList + struct DBTreeListUserData { - 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 > - xContainer; - /// if the entry denotes a data source, this is the connection for this data source (if already connection) - SharedConnection xConnection; - SbaTableQueryBrowser::EntryType eType; - String sAccessor; + /// 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 > + xContainer; + /// if the entry denotes a data source, this is the connection for this data source (if already connection) + SharedConnection xConnection; + SbaTableQueryBrowser::EntryType eType; + String sAccessor; - DBTreeListUserData(); - ~DBTreeListUserData(); - }; + DBTreeListUserData(); + ~DBTreeListUserData(); }; } |