diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-09-23 11:49:35 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-09-23 11:49:35 +0000 |
commit | 67d167539c596fa30030e028a287de81b286c080 (patch) | |
tree | 14b80dae53edf9c2b591640c103f122c84505404 /extensions/source/abpilot/fieldmappingimpl.hxx | |
parent | 8c137b3efd4e5a6d3baced06f69e985f62a57255 (diff) |
INTEGRATION: CWS dba201b (1.2.470); FILE MERGED
2005/09/21 06:41:37 oj 1.2.470.2: RESYNC: (1.2-1.3); FILE MERGED
2005/07/18 10:51:13 fs 1.2.470.1: #i51833# also pass the XDataSource object around - the field mapping dialog needs it, since the data source is not registered at the database context
Diffstat (limited to 'extensions/source/abpilot/fieldmappingimpl.hxx')
-rw-r--r-- | extensions/source/abpilot/fieldmappingimpl.hxx | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/extensions/source/abpilot/fieldmappingimpl.hxx b/extensions/source/abpilot/fieldmappingimpl.hxx index a75e95b320a4..1236e507d9cc 100644 --- a/extensions/source/abpilot/fieldmappingimpl.hxx +++ b/extensions/source/abpilot/fieldmappingimpl.hxx @@ -4,9 +4,9 @@ * * $RCSfile: fieldmappingimpl.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-08 19:07:28 $ + * last change: $Author: hr $ $Date: 2005-09-23 12:49:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -45,11 +45,17 @@ #ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ #include <com/sun/star/uno/Reference.hxx> #endif +#ifndef EXTENSIONS_ABP_ADDRESSSETTINGS_HXX +#include "addresssettings.hxx" +#endif namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } + namespace beans { + class XPropertySet; + } } } } class Window; @@ -69,20 +75,16 @@ namespace abp service factory to use for creating UNO services @param _pParent window to use as parent for the dialog and error messages - @param _rDataSourceName - name of the data source which should be used - @param _rTableName - name of the table which should be used - @param _rFieldAssignment - Upon returning from the function, this is field with the field mapping. If the user cancelled the - dialog, this is cleared. + @param _rSettings + current settings. Upon return, the field mapping member of this + structure will be filled with the settings the user did in the + field mapping dialog. */ sal_Bool invokeDialog( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB, class Window* _pParent, - const ::rtl::OUString& _rDataSourceName, - const ::rtl::OUString& _rTableName, - MapString2String& /* [out] */ _rFieldAssignment + const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxDataSource, + AddressSettings& _rSettings ) SAL_THROW ( ( ) ); //----------------------------------------------------------------- |