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 DBAUI_QUERY_TABLEWINDOWDATA_HXX 24 #define DBAUI_QUERY_TABLEWINDOWDATA_HXX 25 26 #ifndef DBAUI_TABLEWINDOWDATA_HXX 27 #include "TableWindowData.hxx" 28 #endif 29 #ifndef INCLUDED_VECTOR 30 #define INCLUDED_VECTOR 31 #include <vector> 32 #endif 33 #ifndef _COM_SUN_STAR_IO_XOBJECTOUTPUTSTREAM_HPP_ 34 #include <com/sun/star/io/XObjectOutputStream.hpp> 35 #endif 36 #ifndef _COM_SUN_STAR_IO_XOBJECTINPUTSTREAM_HPP_ 37 #include <com/sun/star/io/XObjectInputStream.hpp> 38 #endif 39 40 41 namespace dbaui 42 { 43 class OQueryTableWindowData : public OTableWindowData 44 { 45 public: 46 explicit OQueryTableWindowData(const ::rtl::OUString& _rComposedName, const ::rtl::OUString& rTableName, const ::rtl::OUString& rTableAlias); 47 virtual ~OQueryTableWindowData(); 48 GetAliasName()49 ::rtl::OUString GetAliasName() { return GetWinName(); } SetAliasName(const::rtl::OUString & rNewAlias)50 void SetAliasName(const ::rtl::OUString& rNewAlias) { SetWinName(rNewAlias); } 51 }; 52 } 53 #endif // DBAUI_QUERY_TABLEWINDOWDATA_HXX 54 55 56