summaryrefslogtreecommitdiffstats
path: root/src/interfaceframework/qiffeatureinterface.h
blob: 698d055b571ad35f449c14815e2c6c51af6a6076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QIFFEATUREINTERFACE_H
#define QIFFEATUREINTERFACE_H

#include <QtInterfaceFramework/QIfAbstractFeature>
#include <QtInterfaceFramework/qtifglobal.h>

QT_BEGIN_NAMESPACE

class Q_QTINTERFACEFRAMEWORK_EXPORT QIfFeatureInterface : public QObject
{
    Q_OBJECT

public:
    explicit QIfFeatureInterface(QObject *parent = nullptr);

    virtual void initialize() = 0;

Q_SIGNALS:
    void errorChanged(QIfAbstractFeature::Error error, const QString &message = QString());
    void initializationDone();
};

QT_END_NAMESPACE

#endif // QIFFEATUREINTERFACE_H