User: ihi Date: 2006/10/18 06:28:24 Modified: dba/dbaccess/source/core/inc/TableDeco.hxx
Log: 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 File Changes: Directory: /dba/dbaccess/source/core/inc/ ========================================= File [changed]: TableDeco.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/inc/TableDeco.hxx?r1=1.18&r2=1.19 Delta lines: +13 -7 -------------------- --- TableDeco.hxx 10 Jul 2006 15:12:20 -0000 1.18 +++ TableDeco.hxx 18 Oct 2006 13:28:22 -0000 1.19 @@ -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 @@ ::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 @@ 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); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
