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
11QT_BEGIN_NAMESPACE
12
13class QMinimalEglWindow : public QPlatformWindow
14{
15public:
16 QMinimalEglWindow(QWindow *w);
17
18 void setGeometry(const QRect &) override;
19 WId winId() const override;
20
21private:
22 WId m_winid;
23};
24QT_END_NAMESPACE
25#endif // QMINIMALEGLWINDOW_H
26

source code of qtbase/src/plugins/platforms/minimalegl/qminimaleglwindow.h