summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/inc/TableDeco.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-10-18 12:28:22 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-10-18 12:28:22 +0000
commit51bfdcf7b3aebaea1eeb106e1a0deb7367229cbe (patch)
treeb73ffb6aa7a33f31d8fbf35a2dfceb83103bf832 /dbaccess/source/core/inc/TableDeco.hxx
parent7518b261d1606a1b1e3aed525dceab2142d28dd1 (diff)
INTEGRATION: CWS dba205b (1.18.20); FILE MERGED
2006/08/06 20:16:48 fs 1.18.20.1: #i67020# hold a connection, needed for the container mediator
Diffstat (limited to 'dbaccess/source/core/inc/TableDeco.hxx')
-rw-r--r--dbaccess/source/core/inc/TableDeco.hxx24
1 files changed, 15 insertions, 9 deletions
diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx
index 1ea24c213ebc..a6f6900e4088 100644
--- a/dbaccess/source/core/inc/TableDeco.hxx
+++ b/dbaccess/source/core/inc/TableDeco.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TableDeco.hxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: obo $ $Date: 2006-07-10 15:12:20 $
+ * last change: $Author: ihi $ $Date: 2006-10-18 13:28:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -81,6 +81,7 @@
#ifndef _DBA_COREAPI_COLUMN_HXX_
#include "column.hxx"
#endif
+
#ifndef _CONNECTIVITY_COMMONTOOLS_HXX_
#include <connectivity/CommonTools.hxx>
#endif
@@ -120,8 +121,10 @@ namespace dbaccess
::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener > m_xColumnMediator;
::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier > m_xTable;
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xColumnDefinitions;
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xConnection;
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > m_xNumberFormats;
+
// <properties>
mutable sal_Int32 m_nPrivileges;
// </properties>
@@ -156,15 +159,18 @@ namespace dbaccess
virtual ~ODBTableDecorator();
public:
- /** constructs a wrapper supporting the com.sun.star.sdb.Table service.<BR>
- @param _rxConn the connection the table belongs to
- @param _rxTable the table from the driver can be null
+ /** constructs a wrapper supporting the com.sun.star.sdb.Table service.
+
+ @param _rxConn
+ the connection the table belongs to. Must not be <NULL/>
+ @param _rxTable
+ the table from the driver can be <NULL/>
*/
ODBTableDecorator(
- const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rxConn
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier >& _rxTable
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& _rxNumberFormats
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxColumnDefinitions
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConn,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier >& _rxTable,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& _rxNumberFormats,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxColumnDefinitions
) throw(::com::sun::star::sdbc::SQLException);