summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/Test.framework/Headers/testinterface.h
blob: 486648e31274694433b5d3e788258e679be19330 (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
#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