Update ooo320-m1
[ooovba.git] / toolkit / source / awt / vclxtabpage.hxx
blob795e6937473ac17d05b781d000f11fdc9415963d
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile$
7 * $Revision$
9 * last change: $Author$ $Date$
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston,
32 * MA 02110-1301 USA
34 ************************************************************************/
36 #ifndef LAYOUT_AWT_VCLXTABPAGE_HXX
37 #define LAYOUT_AWT_VCLXTABPAGE_HXX
39 #include <toolkit/awt/vclxwindow.hxx>
40 #include <layout/core/bin.hxx>
41 #include <comphelper/uno3.hxx>
43 namespace layoutimpl
46 namespace css = ::com::sun::star;
48 class VCLXTabPage : public VCLXWindow
49 , public Bin
51 bool bRealized;
53 public:
54 VCLXTabPage( Window *p );
56 // XInterface
57 DECLARE_XINTERFACE()
59 // XTypeProvider
60 DECLARE_XTYPEPROVIDER()
62 protected:
63 ~VCLXTabPage();
65 // XComponent
66 void SAL_CALL dispose() throw(css::uno::RuntimeException);
68 // ::com::sun::star::awt::XLayoutContainer
69 virtual void SAL_CALL allocateArea( css::awt::Rectangle const& rArea )
70 throw (css::uno::RuntimeException);
71 virtual css::awt::Size SAL_CALL getMinimumSize()
72 throw(css::uno::RuntimeException);
74 private:
75 VCLXTabPage( VCLXTabPage const & );
76 VCLXTabPage& operator=( VCLXTabPage const & );
79 } // namespace layoutimpl
81 #endif /* LAYOUT_AWT_VCLXTABPAGE_HXX */