Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwlhardwarelayerintegrationplugin_p.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDHARDWARELAYERINTEGRATIONPLUGIN_H
5#define QWAYLANDHARDWARELAYERINTEGRATIONPLUGIN_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtWaylandCompositor/qtwaylandcompositorglobal.h>
19
20#include <QtCore/qplugin.h>
21#include <QtCore/qfactoryinterface.h>
22#include <QtCore/private/qglobal_p.h>
23
25
26namespace QtWayland {
27
28class HardwareLayerIntegration;
29
30#define QtWaylandHardwareLayerIntegrationFactoryInterface_iid "org.qt-project.Qt.Compositor.QtWaylandHardwareLayerIntegrationFactoryInterface.5.11"
31
32class Q_WAYLANDCOMPOSITOR_EXPORT HardwareLayerIntegrationPlugin : public QObject
33{
35public:
36 explicit HardwareLayerIntegrationPlugin(QObject *parent = nullptr);
38
39 virtual HardwareLayerIntegration *create(const QString &key, const QStringList &paramList) = 0;
40};
41
42}
43
45
46#endif // QWAYLANDHARDWARELAYERINTEGRATIONPLUGIN_H
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
virtual HardwareLayerIntegration * create(const QString &key, const QStringList &paramList)=0
Combined button and popup list for selecting options.
GLuint64 key
#define Q_OBJECT