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 
24 #ifndef _DBA_CORE_COMMANDBASE_HXX_
25 #define _DBA_CORE_COMMANDBASE_HXX_
26 
27 #ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
28 #include <com/sun/star/uno/Sequence.hxx>
29 #endif
30 #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
31 #include <com/sun/star/beans/PropertyValue.hpp>
32 #endif
33 
34 //........................................................................
35 namespace dbaccess
36 {
37 //........................................................................
38 
39 //==========================================================================
40 //= OCommandBase - a base class (in fact just a container for some members)
41 //=					for classes implementing the sdb.CommandDefinition service
42 //==========================================================================
43 class OCommandBase
44 {
45 public: // need public access
46 // <properties>
47 	::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>
48 												m_aLayoutInformation;
49 	::rtl::OUString								m_sCommand;
50 	sal_Bool									m_bEscapeProcessing;		// no BitField ! so it can be used with a OPropertyStateContainer
51 	::rtl::OUString								m_sUpdateTableName;
52 	::rtl::OUString								m_sUpdateSchemaName;
53 	::rtl::OUString								m_sUpdateCatalogName;
54 // </properties>
55 
56 protected:
OCommandBase()57 	OCommandBase() : m_bEscapeProcessing(sal_True) { }
58 
59 };
60 
61 //........................................................................
62 }	// namespace dbaccess
63 //........................................................................
64 
65 #endif // _DBA_CORE_COMMANDBASE_HXX_
66 
67 
68