1// Copyright (C) 2016 The Qt Company Ltd.
2// Copyright (C) 2016 Pelagicore AG
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QEGLFSKMSDEVICE_H
6#define QEGLFSKMSDEVICE_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "private/qeglfsglobal_p.h"
20#include <QtKmsSupport/private/qkmsdevice_p.h>
21
22QT_BEGIN_NAMESPACE
23
24class Q_EGLFS_EXPORT QEglFSKmsDevice : public QKmsDevice
25{
26public:
27 QEglFSKmsDevice(QKmsScreenConfig *screenConfig, const QString &path);
28
29 void registerScreen(QPlatformScreen *screen,
30 bool isPrimary,
31 const QPoint &virtualPos,
32 const QList<QPlatformScreen *> &virtualSiblings) override;
33};
34
35QT_END_NAMESPACE
36
37#endif // QEGLFSKMSDEVICE_H
38

source code of qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support/qeglfskmsdevice_p.h