summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoawindowmanager.h
blob: f469c3a458e2d8c737c7bdd9d2b3c3cc47187a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default

#ifndef QCOCOAWINDOWMANAGER_H
#define QCOCOAWINDOWMANAGER_H

#include <QtCore/qglobal.h>
#include <QtCore/private/qcore_mac_p.h>

QT_BEGIN_NAMESPACE

class QCocoaWindowManager
{
public:
    QCocoaWindowManager();

private:

    QMacNotificationObserver m_applicationDidFinishLaunchingObserver;
    void initialize();

    QMacKeyValueObserver m_modalSessionObserver;
    void modalSessionChanged();
};

QT_END_NAMESPACE

#endif // QCOCOAWINDOWMANAGER_H