Debian Codegraph @

wayland/qtwayland-dev/5.11.3/QtWaylandClient/private/qwaylandinputdeviceintegrationplugin_p.h

raw
1 // Copyright (C) 2016 LG Electronics Ltd
2 //
3 // SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5 #ifndef QWAYLANDINPUTDEVICEINTEGRATIONPLUGIN_H
6 #define QWAYLANDINPUTDEVICEINTEGRATIONPLUGIN_H
7
8 //
9 // W A R N I N G
10 // -------------
11 //
12 // This file is not part of the Qt API. It exists purely as an
13 // implementation detail. This header file may change from version to
14 // version without notice, or even be removed.
15 //
16 // We mean it.
17 //
18
19 #include <QtWaylandClient/qtwaylandclientglobal.h>
20
21 #include <QtCore/qplugin.h>
22 #include <QtCore/qfactoryinterface.h>
23 #include <QtCore/QObject>
24
25 QT_BEGIN_NAMESPACE
26
27 namespace QtWaylandClient {
28
29 class QWaylandInputDeviceIntegration;
30
31 #define QWaylandInputDeviceIntegrationFactoryInterface_iid "org.qt-project.Qt.WaylandClient.QWaylandInputDeviceIntegrationFactoryInterface.5.3"
32
33 class Q_WAYLAND_CLIENT_EXPORT QWaylandInputDeviceIntegrationPlugin : public QObject
34 {
35 Q_OBJECT
36 public:
37 explicit QWaylandInputDeviceIntegrationPlugin(QObject *parent = nullptr);
38 ~QWaylandInputDeviceIntegrationPlugin() override;
39
40 virtual QWaylandInputDeviceIntegration *create(const QString &key, const QStringList &paramList) = 0;
41 };
42
43 }
44
45 QT_END_NAMESPACE
46
47 #endif // QWAYLANDINPUTDEVICEINTEGRATIONPLUGIN_H