1 | // Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB). |
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 QT3DINPUT_QINPUTDEVICEPLUGIN_P_H |
5 | #define QT3DINPUT_QINPUTDEVICEPLUGIN_P_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 for the convenience |
12 | // of other Qt classes. 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 <QtCore/QObject> |
19 | #include <QtCore/QFactoryInterface> |
20 | #include <QtCore/QtPlugin> |
21 | |
22 | #include <Qt3DInput/private/qt3dinput_global_p.h> |
23 | |
24 | QT_BEGIN_NAMESPACE |
25 | |
26 | namespace Qt3DInput { |
27 | |
28 | class QInputDeviceIntegration; |
29 | |
30 | class Q_3DINPUTSHARED_PRIVATE_EXPORT QInputDevicePlugin : public QObject |
31 | { |
32 | Q_OBJECT |
33 | public: |
34 | explicit QInputDevicePlugin(QObject *parent = nullptr); |
35 | ~QInputDevicePlugin(); |
36 | |
37 | virtual QInputDeviceIntegration *create(const QString &key, const QStringList ¶mList); |
38 | }; |
39 | |
40 | } // Qt3DInput |
41 | |
42 | #define QInputDevicePlugin_iid "org.qt-project.Qt3DInput.QInputDevicePlugin 5.6" |
43 | |
44 | QT_END_NAMESPACE |
45 | |
46 | #endif // QT3DINPUT_QINPUTDEVICEPLUGIN_P_H |
47 | |