summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugininterface2.h
blob: df30f2ffd3fac1bfd4f559b10c55baeb2467c929 (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
#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