summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.h
blob: 8afb501f04aa9831e7c66805eb528a22f6b9e23a (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 WITH Qt-GPL-exception-1.0
#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")
    Q_INTERFACES(PluginInterface1)

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

#endif // THEPLUGIN_H