qt6windows7/tests/auto/cmake/mockplugins/mock2plugin/qmock2plugin.h

24 lines
495 B
C
Raw Normal View History

2023-10-30 06:33:08 +08:00
// Copyright (C) 2018 Kitware, Inc.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef QMOCK2PLUGIN_H
#define QMOCK2PLUGIN_H
#include <QObject>
#include <QtMockPlugins1/QMockPlugin>
QT_BEGIN_NAMESPACE
class QMock2Plugin : public QObject, public QMockPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QMockPlugin_iid FILE "mock2plugin.json")
Q_INTERFACES(QMockPlugin)
public:
QString pluginName() const override;
};
QT_END_NAMESPACE
#endif // QMOCK2PLUGIN_H