summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugininterface2.h
blob: e332e80b89d52c5768006598911bd473e30712fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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 PLUGININTERFACE2_H
#define PLUGININTERFACE2_H

#include <QtCore/QtGlobal>

struct PluginInterface2 {
    virtual ~PluginInterface2() {}
    virtual QString pluginName() const = 0;
};

QT_BEGIN_NAMESPACE

#define PluginInterface2_iid "org.qt-project.Qt.autotests.plugininterface2"

Q_DECLARE_INTERFACE(PluginInterface2, PluginInterface2_iid)

QT_END_NAMESPACE

#endif // PLUGININTERFACE2_H