qt6-bb10/tests/auto/tools/moc/Test.framework/Headers/testinterface.h

18 lines
364 B
C

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#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