summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 14:56:46 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 14:56:46 +0000
commit9eeb8dee702a5bb6e7f4a3d642e33fde3982b7ec (patch)
treec988d007d584e488ccccc31499d1b8a871cd29c9
parent1de59afab7cd1e869c7595b666418f02b67ef2a4 (diff)
INTEGRATION: CWS insight01 (1.3.64); FILE MERGED
2004/03/11 09:04:03 oj 1.3.64.1: #111075# changes for closing
-rw-r--r--dbaccess/source/ui/inc/datasourceconnector.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/datasourceconnector.hxx b/dbaccess/source/ui/inc/datasourceconnector.hxx
index 48424aafd..6cb679921 100644
--- a/dbaccess/source/ui/inc/datasourceconnector.hxx
+++ b/dbaccess/source/ui/inc/datasourceconnector.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: datasourceconnector.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-03-19 17:52:38 $
+ * last change: $Author: hr $ $Date: 2004-08-02 15:56:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,9 @@
#ifndef _COM_SUN_STAR_SDBC_XCONNECTION_HPP_
#include <com/sun/star/sdbc/XConnection.hpp>
#endif
+#ifndef _COM_SUN_STAR_SDBC_XDATASOURCE_HPP_
+#include <com/sun/star/sdbc/XDataSource.hpp>
+#endif
class Window;
//.........................................................................
@@ -111,6 +114,11 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >
connect(const ::rtl::OUString& _rDataSourceName, sal_Bool _bShowError = sal_True) const;
+ /// create a data source connection
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >
+ connect(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource>& _xDataSource
+ , sal_Bool _bShowError = sal_True) const;
+
private:
void implConstruct();
};