// 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 struct TestInterface { inline virtual ~TestInterface() {} virtual void foobar() = 0; }; Q_DECLARE_INTERFACE(TestInterface, "foo.bar/1.0") #endif // TESTINTERFACE_H