1 | // Copyright (C) 2016 The Qt Company Ltd. |
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 QPLATFORMINTEGRATIONPLUGIN_H |
5 | #define QPLATFORMINTEGRATIONPLUGIN_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is part of the QPA API and is not meant to be used |
12 | // in applications. Usage of this API may make your code |
13 | // source and binary incompatible with future versions of Qt. |
14 | // |
15 | |
16 | #include <QtGui/qtguiglobal.h> |
17 | #include <QtCore/qplugin.h> |
18 | #include <QtCore/qfactoryinterface.h> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | |
23 | class QPlatformIntegration; |
24 | |
25 | #define QPlatformIntegrationFactoryInterface_iid "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" |
26 | |
27 | class Q_GUI_EXPORT QPlatformIntegrationPlugin : public QObject |
28 | { |
29 | Q_OBJECT |
30 | public: |
31 | explicit QPlatformIntegrationPlugin(QObject *parent = nullptr); |
32 | ~QPlatformIntegrationPlugin(); |
33 | |
34 | virtual QPlatformIntegration *create(const QString &key, const QStringList ¶mList); |
35 | virtual QPlatformIntegration *create(const QString &key, const QStringList ¶mList, int &argc, char **argv); |
36 | }; |
37 | |
38 | QT_END_NAMESPACE |
39 | |
40 | #endif // QPLATFORMINTEGRATIONPLUGIN_H |
41 | |