summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/Test.framework/Headers/testinterface.h
blob: b721e7207baffab7569d809c0ea7ad53c4490a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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