Branch data Line data Source code
1 : : // Copyright (C) 2021 The Qt Company Ltd.
2 : : // Copyright (C) 2019 Luxoft Sweden AB
3 : : // Copyright (C) 2018 Pelagicore AG
4 : : // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
5 : :
6 : : #ifndef QIFFEATUREINTERFACE_H
7 : : #define QIFFEATUREINTERFACE_H
8 : :
9 : : #include <QtInterfaceFramework/QIfAbstractFeature>
10 : : #include <QtInterfaceFramework/qtifglobal.h>
11 : :
12 : : QT_BEGIN_NAMESPACE
13 : :
14 : 377 : class Q_QTINTERFACEFRAMEWORK_EXPORT QIfFeatureInterface : public QObject
15 : : {
16 : : Q_OBJECT
17 : :
18 : : public:
19 : : explicit QIfFeatureInterface(QObject *parent = nullptr);
20 : :
21 : : virtual void initialize() = 0;
22 : :
23 : : Q_SIGNALS:
24 : : void errorChanged(QIfAbstractFeature::Error error, const QString &message = QString());
25 : : void initializationDone();
26 : : };
27 : :
28 : : QT_END_NAMESPACE
29 : :
30 : : #endif // QIFFEATUREINTERFACE_H
|