mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-01 00:06:55 +08:00
18 lines
390 B
C
18 lines
390 B
C
// 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 TESTINTERFACE_H
|
|
#define TESTINTERFACE_H
|
|
|
|
#include <QtCore/qobject.h>
|
|
|
|
struct TestInterface
|
|
{
|
|
inline virtual ~TestInterface() {}
|
|
|
|
virtual void foobar() = 0;
|
|
};
|
|
|
|
Q_DECLARE_INTERFACE(TestInterface, "foo.bar/1.0")
|
|
|
|
#endif // TESTINTERFACE_H
|