Bump version to 21.06.18.1
[LibreOffice.git] / include / toolkit / awt / vclxcontainer.hxx
blobf73cdf2c449501165b12056423812165bbf589a1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_TOOLKIT_AWT_VCLXCONTAINER_HXX
21 #define INCLUDED_TOOLKIT_AWT_VCLXCONTAINER_HXX
24 #include <com/sun/star/awt/XVclContainer.hpp>
25 #include <com/sun/star/awt/XVclContainerPeer.hpp>
26 #include <cppuhelper/weak.hxx>
28 #include <toolkit/awt/vclxwindow.hxx>
33 class VCLXContainer : public css::awt::XVclContainer,
34 public css::awt::XVclContainerPeer,
35 public VCLXWindow
37 public:
38 VCLXContainer();
39 virtual ~VCLXContainer() override;
41 // css::uno::XInterface
42 css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
43 void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
44 void SAL_CALL release() throw() override { OWeakObject::release(); }
46 // css::lang::XTypeProvider
47 css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
48 css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
50 // css::awt::XVclContainer
51 void SAL_CALL addVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& l ) override;
52 void SAL_CALL removeVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& l ) override;
53 css::uno::Sequence< css::uno::Reference< css::awt::XWindow > > SAL_CALL getWindows( ) override;
55 // css::awt::XVclContainerPeer
56 void SAL_CALL enableDialogControl( sal_Bool bEnable ) override;
57 void SAL_CALL setTabOrder( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& WindowOrder, const css::uno::Sequence< css::uno::Any >& Tabs, sal_Bool GroupControl ) override;
58 void SAL_CALL setGroup( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& Windows ) override;
60 // css::awt::XVclWindowPeer
61 void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) override;
63 static void ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds );
64 virtual void GetPropertyIds( std::vector< sal_uInt16 > &aIds ) override { return ImplGetPropertyIds( aIds ); }
68 #endif // INCLUDED_TOOLKIT_AWT_VCLXCONTAINER_HXX
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */