summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/minimalegl/qminimaleglwindow.h
blob: dbbe1e6110b7d57da16b5d47cf3a5e0f89650599 (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
// Copyright (C) 2016 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

#ifndef QMINIMALEGLWINDOW_H
#define QMINIMALEGLWINDOW_H

#include "qminimaleglintegration.h"

#include <qpa/qplatformwindow.h>

QT_BEGIN_NAMESPACE

class QMinimalEglWindow : public QPlatformWindow
{
public:
    QMinimalEglWindow(QWindow *w);

    void setGeometry(const QRect &) override;
    WId winId() const override;

private:
    WId m_winid;
};
QT_END_NAMESPACE
#endif // QMINIMALEGLWINDOW_H