Coverage Report

Created: 2026-10-14 09:33

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/toolkit/inc/awt/vclxtopwindow.hxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
 * This file is part of the LibreOffice project.
4
 *
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/.
8
 *
9
 * This file incorporates work covered by the following license notice:
10
 *
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 .
18
 */
19
20
#pragma once
21
22
#include <com/sun/star/awt/XSystemDependentWindowPeer.hpp>
23
#include <com/sun/star/awt/XTopWindow3.hpp>
24
25
#include <cppuhelper/implbase.hxx>
26
27
#include <awt/vclxcontainer.hxx>
28
29
30
class VCLXTopWindow: public cppu::ImplInheritanceHelper<
31
                        VCLXContainer, css::awt::XTopWindow3, css::awt::XSystemDependentWindowPeer >
32
{
33
public:
34
    VCLXTopWindow();
35
    virtual ~VCLXTopWindow() override;
36
37
    // css::awt::XSystemDependentWindowPeer
38
    css::uno::Any SAL_CALL getWindowHandle( const css::uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType ) override;
39
40
    // css::awt::XTopWindow
41
    void SAL_CALL addTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) override;
42
    void SAL_CALL removeTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) override;
43
    void SAL_CALL toFront() override;
44
    void SAL_CALL toBack() override;
45
    void SAL_CALL setMenuBar( const css::uno::Reference< css::awt::XMenuBar >& xMenu ) override;
46
47
    // XTopWindow2
48
    virtual sal_Bool SAL_CALL getIsMaximized() override;
49
    virtual void SAL_CALL setIsMaximized( sal_Bool _ismaximized ) override;
50
    virtual sal_Bool SAL_CALL getIsMinimized() override;
51
    virtual void SAL_CALL setIsMinimized( sal_Bool _isminimized ) override;
52
    virtual ::sal_Int32 SAL_CALL getDisplay() override;
53
    virtual void SAL_CALL setDisplay( ::sal_Int32 _display ) override;
54
55
    // XTopWindow3
56
    virtual sal_Bool SAL_CALL getFullScreen() override;
57
    virtual void SAL_CALL setFullScreen(sal_Bool value) override;
58
59
    static void     ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds );
60
0
    virtual void    GetPropertyIds( std::vector< sal_uInt16 > &aIds ) override { return ImplGetPropertyIds( aIds ); }
61
};
62
63
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */