summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsgdiintegration.h
blob: fbb6b7460d8d73ae0e731eb21bde76e52a21fbe0 (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
// 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 QWINDOWSGDIINTEGRATION_H
#define QWINDOWSGDIINTEGRATION_H

#include "qwindowsintegration.h"

QT_BEGIN_NAMESPACE

class QWindowsGdiIntegrationPrivate;
class QWindowsGdiIntegration : public QWindowsIntegration
{
public:
    explicit QWindowsGdiIntegration(const QStringList &paramList);
    ~QWindowsGdiIntegration() override;

    QPlatformNativeInterface *nativeInterface() const override;
    QPlatformPixmap *createPlatformPixmap(QPlatformPixmap::PixelType type) const override;
    QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;

private:
    QScopedPointer<QWindowsGdiIntegrationPrivate> d;
};

QT_END_NAMESPACE

#endif // QWINDOWSGDIINTEGRATION_H