summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformintegrationplugin.cpp
blob: faf32887c78c47c02f313aefa72993f006dc43ff (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
29
30
31
32
33
// 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

#include "qplatformintegrationplugin.h"

QT_BEGIN_NAMESPACE

QPlatformIntegrationPlugin::QPlatformIntegrationPlugin(QObject *parent)
    : QObject(parent)
{
}

QPlatformIntegrationPlugin::~QPlatformIntegrationPlugin()
{
}

QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList &paramList)
{
    Q_UNUSED(key);
    Q_UNUSED(paramList);
    return nullptr;
}

QPlatformIntegration *QPlatformIntegrationPlugin::create(const QString &key, const QStringList &paramList, int &argc, char **argv)
{
    Q_UNUSED(argc);
    Q_UNUSED(argv);
    return create(key, paramList); // Fallback for platform plugins that do not implement the argc/argv version.
}

QT_END_NAMESPACE

#include "moc_qplatformintegrationplugin.cpp"