summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.h
blob: aba0b5c2f55f1b9c115a248756654fd5122f807c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef THEPLUGIN_H
#define THEPLUGIN_H

#include <QtCore/qobject.h>
#include <QtCore/qplugin.h>
#include "plugininterface1.h"

class Plugin1 : public QObject, public PluginInterface1
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.autotests.plugininterface1" FILE "plugin1.json")
    Q_INTERFACES(PluginInterface1)

public:
    virtual QString pluginName() const override;
};

#endif // THEPLUGIN_H