1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef CONNECTIVITY_PARAMETERCONTINUATION_HXX_INCLUDED
24 #define CONNECTIVITY_PARAMETERCONTINUATION_HXX_INCLUDED
25 
26 #include <com/sun/star/sdb/XInteractionSupplyParameters.hpp>
27 #include <comphelper/interaction.hxx>
28 #include "connectivity/dbtoolsdllapi.hxx"
29 
30 namespace dbtools
31 {
32 //====================================================================
33     //= OParameterContinuation
34     //====================================================================
35     class OOO_DLLPUBLIC_DBTOOLS OParameterContinuation : public comphelper::OInteraction< ::com::sun::star::sdb::XInteractionSupplyParameters >
36     {
37         ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >		m_aValues;
38 
39     public:
OParameterContinuation()40 	    OParameterContinuation() { }
41 
getValues() const42 	    ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >	getValues() const { return m_aValues; }
43 
44         // XInteractionSupplyParameters
45 	    virtual void SAL_CALL setParameters( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rValues ) throw(::com::sun::star::uno::RuntimeException);
46 
47     protected:
~OParameterContinuation()48         virtual ~OParameterContinuation() { }
49     private:
50         OParameterContinuation(const OParameterContinuation&);
51         void operator =(const OParameterContinuation&);
52     };
53 } // dbtools
54 #endif //CONNECTIVITY_PARAMETERCONTINUATION_HXX_INCLUDED
55 
56