summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h
blob: 781fdefa2c834aecbad1f057e8445f3239091cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2021 Intel Corportaion.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef THEOLDPLUGIN_H
#define THEOLDPLUGIN_H

#include <QObject>
#include <QtPlugin>
#include "plugininterface.h"

class TheOldPlugin : public QObject, public PluginInterface
{
    Q_OBJECT
    // Q_PLUGIN_METADATA intentionally missing
    Q_INTERFACES(PluginInterface)

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

#endif // THEOLDPLUGIN_H