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 DBAUI_RELATIONDESIGNVIEW_HXX
25 #define DBAUI_RELATIONDESIGNVIEW_HXX
26 
27 #ifndef DBAUI_JOINDESIGNVIEW_HXX
28 #include "JoinDesignView.hxx"
29 #endif
30 #ifndef _VECTOR_
31 #include <vector>
32 #endif
33 #ifndef _STRING_HXX
34 #include <tools/string.hxx>
35 #endif
36 #ifndef DBAUI_ENUMTYPES_HXX
37 #include "QEnumTypes.hxx"
38 #endif
39 #ifndef DBAUI_RELATION_TABLEVIEW_HXX
40 #include "RelationTableView.hxx"
41 #endif
42 
43 namespace dbaui
44 {
45 	class OAddTableDlg;
46 	class OTableConnection;
47 	class ORelationTableConnectionData;
48 	class OConnectionLineData;
49 	class ORelationController;
50 
51 	class ORelationDesignView : public OJoinDesignView
52 	{
53 	public:
54 		ORelationDesignView(Window* pParent, ORelationController& _rController,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
55 		virtual ~ORelationDesignView();
56 
57 		// set the statement for representation
58 		/// late construction
59 		virtual void Construct();
60 		virtual void initialize();
61 
62 
63 		virtual long PreNotify( NotifyEvent& rNEvt );
64 		virtual void GetFocus();
65 	};
66 }
67 #endif // DBAUI_RELATIONDESIGNVIEW_HXX
68 
69 
70 
71