1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef LISTENER_H
6#define LISTENER_H
7
8#include "framework/framework_global.h"
9
10#include <QObject>
11
12DPF_BEGIN_NAMESPACE
13
14class ListenerPrivate;
15class Listener final : public QObject
16{
17 Q_OBJECT
18 friend class ListenerPrivate;
19 ListenerPrivate *const d;
20 friend class PluginManagerPrivate;
21public:
22 explicit Listener(QObject *parent = nullptr);
23 static Listener &instance();
24signals:
25 void pluginsInitialized();
26 void pluginsStarted();
27 void pluginsStoped();
28};
29
30DPF_END_NAMESPACE
31
32#endif // LISTENER_H
33