1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
22 #include <com/sun/star/awt/XVclContainer.hpp>
23 #include <com/sun/star/awt/XVclContainerPeer.hpp>
24 #include <cppuhelper/implbase.hxx>
26 #include <toolkit/awt/vclxwindow.hxx>
28 class VCLXContainer
: public cppu::ImplInheritanceHelper
<VCLXWindow
,
29 css::awt::XVclContainer
,
30 css::awt::XVclContainerPeer
>
34 virtual ~VCLXContainer() override
;
36 // css::awt::XVclContainer
37 void SAL_CALL
addVclContainerListener( const css::uno::Reference
< css::awt::XVclContainerListener
>& l
) override
;
38 void SAL_CALL
removeVclContainerListener( const css::uno::Reference
< css::awt::XVclContainerListener
>& l
) override
;
39 css::uno::Sequence
< css::uno::Reference
< css::awt::XWindow
> > SAL_CALL
getWindows( ) override
;
41 // css::awt::XVclContainerPeer
42 void SAL_CALL
enableDialogControl( sal_Bool bEnable
) override
;
43 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
;
44 void SAL_CALL
setGroup( const css::uno::Sequence
< css::uno::Reference
< css::awt::XWindow
> >& Windows
) override
;
46 // css::awt::XVclWindowPeer
47 void SAL_CALL
setProperty( const OUString
& PropertyName
, const css::uno::Any
& Value
) override
;
49 static void ImplGetPropertyIds( std::vector
< sal_uInt16
> &aIds
);
50 virtual void GetPropertyIds( std::vector
< sal_uInt16
> &aIds
) override
{ return ImplGetPropertyIds( aIds
); }
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */