According to QUIP-18 [1], all tests file should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Task-number: QTBUG-121787 Change-Id: I9657df5d660820e56c96d511ea49d321c54682e8 Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de> (cherry picked from commit ff1039c217fb1ae03b701557a5a50c2112555991)
24 lines
495 B
C++
24 lines
495 B
C++
// Copyright (C) 2018 Kitware, Inc.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
#ifndef QMOCK1PLUGIN_H
|
|
#define QMOCK1PLUGIN_H
|
|
|
|
#include <QObject>
|
|
#include <QtMockPlugins1/QMockPlugin>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QMock1Plugin : public QObject, public QMockPlugin
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock1plugin.json")
|
|
Q_INTERFACES(QMockPlugin)
|
|
public:
|
|
QString pluginName() const override;
|
|
};
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // QMOCK1PLUGIN_H
|