1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef _DBA_CORE_COMMANDBASE_HXX_
29 #define _DBA_CORE_COMMANDBASE_HXX_
30 
31 #ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
32 #include <com/sun/star/uno/Sequence.hxx>
33 #endif
34 #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
35 #include <com/sun/star/beans/PropertyValue.hpp>
36 #endif
37 
38 //........................................................................
39 namespace dbaccess
40 {
41 //........................................................................
42 
43 //==========================================================================
44 //= OCommandBase - a base class (in fact just a container for some members)
45 //=					for classes implementing the sdb.CommandDefinition service
46 //==========================================================================
47 class OCommandBase
48 {
49 public: // need public access
50 // <properties>
51 	::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>
52 												m_aLayoutInformation;
53 	::rtl::OUString								m_sCommand;
54 	sal_Bool									m_bEscapeProcessing;		// no BitField ! so it can be used with a OPropertyStateContainer
55 	::rtl::OUString								m_sUpdateTableName;
56 	::rtl::OUString								m_sUpdateSchemaName;
57 	::rtl::OUString								m_sUpdateCatalogName;
58 // </properties>
59 
60 protected:
61 	OCommandBase() : m_bEscapeProcessing(sal_True) { }
62 
63 };
64 
65 //........................................................................
66 }	// namespace dbaccess
67 //........................................................................
68 
69 #endif // _DBA_CORE_COMMANDBASE_HXX_
70 
71 
72