| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QMINIMALEGLWINDOW_H |
| 5 | #define QMINIMALEGLWINDOW_H |
| 6 | |
| 7 | #include "qminimaleglintegration.h" |
| 8 | |
| 9 | #include <qpa/qplatformwindow.h> |
| 10 | |
| 11 | QT_BEGIN_NAMESPACE |
| 12 | |
| 13 | class QMinimalEglWindow : public QPlatformWindow |
| 14 | { |
| 15 | public: |
| 16 | QMinimalEglWindow(QWindow *w); |
| 17 | |
| 18 | void setGeometry(const QRect &) override; |
| 19 | WId winId() const override; |
| 20 | |
| 21 | private: |
| 22 | WId m_winid; |
| 23 | }; |
| 24 | QT_END_NAMESPACE |
| 25 | #endif // QMINIMALEGLWINDOW_H |
| 26 |
